Fix "'INFINITY' was not declared in this scope" error
Fix "'INFINITY' was not declared in this scope" error

PiperOrigin-RevId: 238263691

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