[XLA:Python] Refactor xla_client, adding a Backend abstraction that is implemented by both Local XLA and XRT.
[XLA:Python] Refactor xla_client, adding a Backend abstraction that is implemented by both Local XLA and XRT.

Add support for serializing Python Shape objects to protocol buffers.

PiperOrigin-RevId: 232329732

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