Relax tpu.replicate to handle inputs with static shapes but different among replicas. This is useful in TF2.0, when user calls iterator.get_next() outside tf.function, tpu.replicate will receive eager tensors with static but different shapes.
Relax tpu.replicate to handle inputs with static shapes but different among replicas. This is useful in TF2.0, when user calls iterator.get_next() outside tf.function, tpu.replicate will receive eager tensors with static but different shapes.

PiperOrigin-RevId: 258179664

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