Corrected the tf.linalg.diag_part examples
Corrected the tf.linalg.diag_part examples

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