Remove code in default_gradient that returns float32 if resource handle_data is not set since that should never happen.
Remove code in default_gradient that returns float32 if resource handle_data is not set since that should never happen.

PiperOrigin-RevId: 272885112

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