Instead of suppressing warnings coming out of implicit IndexedSlices->Tensor conversions in the gradient code, perform explicit warning-free conversions before feeding IndexedSlices into ops so that we do not produce spurious warnings at places where we know we are expanding IndexedSlices into Tensors (such as the gradients of gather).
Instead of suppressing warnings coming out of implicit IndexedSlices->Tensor conversions in the gradient code, perform explicit warning-free conversions before feeding IndexedSlices into ops so that we do not produce spurious warnings at places where we know we are expanding IndexedSlices into Tensors (such as the gradients of gather).

PiperOrigin-RevId: 284906260
Change-Id: I1cc9a8097a79414d6927355807b61253c1bd90f1

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