[XLA:Python] Remove some backward compatibility code from the Python API.
[XLA:Python] Remove some backward compatibility code from the Python API.

Preceding changes have already broken compatibility with older JAX releases, so we can remove this compatibility code also.

PiperOrigin-RevId: 248009182

arborh/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,arborh/tensorflow,renyi533/tensorflow,annarev/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,tensorflow/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,frreiss/tensorflow-fred,chemelnucfin/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,arborh/tensorflow,jhseu/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,arborh/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,xzturn/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,yongtang/tensorflow,gunan/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,petewarden/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,yongtang/tensorflow,gunan/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,aldian/tensorflow,aldian/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,sarvex/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,davidzchen/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,jhseu/tensorflow,annarev/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,aldian/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,renyi533/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,karllessard/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,arborh/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,aldian/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,aldian/tensorflow,xzturn/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,jhseu/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,yongtang/tensorflow,karllessard/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,alsrgv/tensorflow,annarev/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,renyi533/tensorflow,arborh/tensorflow,arborh/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,yongtang/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,aam-at/tensorflow,renyi533/tensorflow,gunan/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,aam-at/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,xzturn/tensorflow,annarev/tensorflow,karllessard/tensorflow,renyi533/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,chemelnucfin/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,petewarden/tensorflow,annarev/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,karllessard/tensorflow,yongtang/tensorflow