Add attribute "num_distributed_variables" to _TPUReplicate op, in order to distinguish per-replica inputs and distributed variable inputs.
Add attribute "num_distributed_variables" to _TPUReplicate op, in order to distinguish per-replica inputs and distributed variable inputs.

PiperOrigin-RevId: 299181441
Change-Id: I6c1338a6a0f7d831f807cb84f64551a976f397df

davidzchen/tensorflow,karllessard/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,aldian/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,annarev/tensorflow,freedomtan/tensorflow,gunan/tensorflow,aldian/tensorflow,gunan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,sarvex/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,karllessard/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,annarev/tensorflow,annarev/tensorflow,petewarden/tensorflow,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,gautam1858/tensorflow,annarev/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,aldian/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,annarev/tensorflow,renyi533/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,annarev/tensorflow,gunan/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,karllessard/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,karllessard/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,aam-at/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,annarev/tensorflow,petewarden/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,annarev/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,yongtang/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,gunan/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,aldian/tensorflow,cxxgtxy/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,aldian/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,aldian/tensorflow,petewarden/tensorflow,gunan/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,yongtang/tensorflow,renyi533/tensorflow,aam-at/tensorflow