Create fast path for common case of finite values in CheckNumericsOp
Create fast path for common case of finite values in CheckNumericsOp

PiperOrigin-RevId: 186474851

girving/tensorflow,kevin-coder/tensorflow-fork,jendap/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,Intel-Corporation/tensorflow,alshedivat/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,dendisuhubdy/tensorflow,ppwwyyxx/tensorflow,lukeiwanski/tensorflow,gunan/tensorflow,kobejean/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dancingdan/tensorflow,jalexvig/tensorflow,ppwwyyxx/tensorflow,dongjoon-hyun/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,dendisuhubdy/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,theflofly/tensorflow,arborh/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,hfp/tensorflow-xsmm,xodus7/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow,seanli9jan/tensorflow,aam-at/tensorflow,AnishShah/tensorflow,drpngx/tensorflow,yongtang/tensorflow,Xeralux/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,jbedorf/tensorflow,kobejean/tensorflow,asimshankar/tensorflow,meteorcloudy/tensorflow,jart/tensorflow,jbedorf/tensorflow,eaplatanios/tensorflow,aselle/tensorflow,nburn42/tensorflow,theflofly/tensorflow,seanli9jan/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,yanchen036/tensorflow,ZhangXinNan/tensorflow,gautam1858/tensorflow,meteorcloudy/tensorflow,manipopopo/tensorflow,sarvex/tensorflow,chemelnucfin/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,chemelnucfin/tensorflow,benoitsteiner/tensorflow-xsmm,ZhangXinNan/tensorflow,apark263/tensorflow,alsrgv/tensorflow,apark263/tensorflow,hehongliang/tensorflow,annarev/tensorflow,yongtang/tensorflow,apark263/tensorflow,jart/tensorflow,ageron/tensorflow,aldian/tensorflow,xzturn/tensorflow,jhseu/tensorflow,gunan/tensorflow,dongjoon-hyun/tensorflow,gojira/tensorflow,nburn42/tensorflow,jbedorf/tensorflow,xodus7/tensorflow,benoitsteiner/tensorflow-xsmm,Xeralux/tensorflow,arborh/tensorflow,Xeralux/tensorflow,hehongliang/tensorflow,ghchinoy/tensorflow,Intel-Corporation/tensorflow,hfp/tensorflow-xsmm,snnn/tensorflow,brchiu/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,ZhangXinNan/tensorflow,dancingdan/tensorflow,lukeiwanski/tensorflow,lukeiwanski/tensorflow,asimshankar/tensorflow,lukeiwanski/tensorflow,gunan/tensorflow,eaplatanios/tensorflow,frreiss/tensorflow-fred,kobejean/tensorflow,gojira/tensorflow,kobejean/tensorflow,dancingdan/tensorflow,davidzchen/tensorflow,Xeralux/tensorflow,snnn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jart/tensorflow,aselle/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,petewarden/tensorflow,ZhangXinNan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,jart/tensorflow,freedomtan/tensorflow,annarev/tensorflow,aselle/tensorflow,Bismarrck/tensorflow,drpngx/tensorflow,dendisuhubdy/tensorflow,renyi533/tensorflow,xodus7/tensorflow,lukeiwanski/tensorflow,jendap/tensorflow,benoitsteiner/tensorflow-xsmm,yanchen036/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,annarev/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,ageron/tensorflow,karllessard/tensorflow,Xeralux/tensorflow,alshedivat/tensorflow,dendisuhubdy/tensorflow,Xeralux/tensorflow,jbedorf/tensorflow,jart/tensorflow,manipopopo/tensorflow,seanli9jan/tensorflow,chemelnucfin/tensorflow,snnn/tensorflow,paolodedios/tensorflow,ZhangXinNan/tensorflow,dongjoon-hyun/tensorflow,lukeiwanski/tensorflow,hehongliang/tensorflow,jbedorf/tensorflow,lukeiwanski/tensorflow,dongjoon-hyun/tensorflow,aldian/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,Bismarrck/tensorflow,drpngx/tensorflow,Intel-Corporation/tensorflow,eaplatanios/tensorflow,manipopopo/tensorflow,jart/tensorflow,eaplatanios/tensorflow,hfp/tensorflow-xsmm,aam-at/tensorflow,hfp/tensorflow-xsmm,gautam1858/tensorflow,sarvex/tensorflow,aam-at/tensorflow,petewarden/tensorflow,snnn/tensorflow,annarev/tensorflow,kobejean/tensorflow,apark263/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,asimshankar/tensorflow,paolodedios/tensorflow,kevin-coder/tensorflow-fork,asimshankar/tensorflow,dendisuhubdy/tensorflow,allenlavoie/tensorflow,dongjoon-hyun/tensorflow,ppwwyyxx/tensorflow,snnn/tensorflow,tensorflow/tensorflow,theflofly/tensorflow,asimshankar/tensorflow,Intel-Corporation/tensorflow,brchiu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,snnn/tensorflow,meteorcloudy/tensorflow,brchiu/tensorflow,caisq/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,arborh/tensorflow,aselle/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,kevin-coder/tensorflow-fork,girving/tensorflow,jendap/tensorflow,caisq/tensorflow,benoitsteiner/tensorflow-xsmm,benoitsteiner/tensorflow-xsmm,cxxgtxy/tensorflow,dendisuhubdy/tensorflow,nburn42/tensorflow,arborh/tensorflow,AnishShah/tensorflow,meteorcloudy/tensorflow,karllessard/tensorflow,brchiu/tensorflow,annarev/tensorflow,yongtang/tensorflow,Bismarrck/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,DavidNorman/tensorflow,snnn/tensorflow,theflofly/tensorflow,benoitsteiner/tensorflow-xsmm,kobejean/tensorflow,dancingdan/tensorflow,aselle/tensorflow,yanchen036/tensorflow,ghchinoy/tensorflow,sarvex/tensorflow,girving/tensorflow,gautam1858/tensorflow,eaplatanios/tensorflow,alsrgv/tensorflow,ZhangXinNan/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,annarev/tensorflow,allenlavoie/tensorflow,jhseu/tensorflow,jalexvig/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,jendap/tensorflow,jendap/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,jendap/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,dongjoon-hyun/tensorflow,freedomtan/tensorflow,eaplatanios/tensorflow,cxxgtxy/tensorflow,xodus7/tensorflow,eaplatanios/tensorflow,dancingdan/tensorflow,aldian/tensorflow,apark263/tensorflow,ppwwyyxx/tensorflow,gojira/tensorflow,kevin-coder/tensorflow-fork,aselle/tensorflow,aselle/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,arborh/tensorflow,aselle/tensorflow,nburn42/tensorflow,jart/tensorflow,snnn/tensorflow,frreiss/tensorflow-fred,jalexvig/tensorflow,ghchinoy/tensorflow,jalexvig/tensorflow,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,Bismarrck/tensorflow,jalexvig/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,nburn42/tensorflow,apark263/tensorflow,ZhangXinNan/tensorflow,alshedivat/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,ageron/tensorflow,brchiu/tensorflow,dendisuhubdy/tensorflow,asimshankar/tensorflow,hehongliang/tensorflow,yanchen036/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,allenlavoie/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jendap/tensorflow,adit-chandra/tensorflow,girving/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,AnishShah/tensorflow,aam-at/tensorflow,gojira/tensorflow,gojira/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,yanchen036/tensorflow,gojira/tensorflow,tensorflow/tensorflow,apark263/tensorflow,theflofly/tensorflow,dendisuhubdy/tensorflow,caisq/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow,dongjoon-hyun/tensorflow,ghchinoy/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,meteorcloudy/tensorflow,dongjoon-hyun/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,chemelnucfin/tensorflow,hfp/tensorflow-xsmm,snnn/tensorflow,Xeralux/tensorflow,ageron/tensorflow,eaplatanios/tensorflow,hfp/tensorflow-xsmm,kobejean/tensorflow,petewarden/tensorflow,apark263/tensorflow,cxxgtxy/tensorflow,AnishShah/tensorflow,xodus7/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,benoitsteiner/tensorflow-xsmm,meteorcloudy/tensorflow,gunan/tensorflow,dendisuhubdy/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow,Xeralux/tensorflow,xzturn/tensorflow,nburn42/tensorflow,sarvex/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,allenlavoie/tensorflow,petewarden/tensorflow,dancingdan/tensorflow,alshedivat/tensorflow,kevin-coder/tensorflow-fork,davidzchen/tensorflow,ageron/tensorflow,annarev/tensorflow,kobejean/tensorflow,DavidNorman/tensorflow,aselle/tensorflow,manipopopo/tensorflow,meteorcloudy/tensorflow,caisq/tensorflow,girving/tensorflow,caisq/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dongjoon-hyun/tensorflow,girving/tensorflow,allenlavoie/tensorflow,yanchen036/tensorflow,benoitsteiner/tensorflow-xsmm,ghchinoy/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,sarvex/tensorflow,xzturn/tensorflow,gunan/tensorflow,petewarden/tensorflow,arborh/tensorflow,gautam1858/tensorflow,manipopopo/tensorflow,seanli9jan/tensorflow,lukeiwanski/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,aldian/tensorflow,alshedivat/tensorflow,xodus7/tensorflow,kobejean/tensorflow,adit-chandra/tensorflow,jendap/tensorflow,alshedivat/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,ghchinoy/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,ageron/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,aldian/tensorflow,tensorflow/tensorflow,brchiu/tensorflow,allenlavoie/tensorflow,ppwwyyxx/tensorflow,Bismarrck/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,renyi533/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alsrgv/tensorflow,alsrgv/tensorflow,aselle/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,Xeralux/tensorflow,freedomtan/tensorflow,gojira/tensorflow,seanli9jan/tensorflow,theflofly/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,dancingdan/tensorflow,arborh/tensorflow,brchiu/tensorflow,Intel-Corporation/tensorflow,kevin-coder/tensorflow-fork,caisq/tensorflow,paolodedios/tensorflow,girving/tensorflow,yongtang/tensorflow,eaplatanios/tensorflow,girving/tensorflow,manipopopo/tensorflow,theflofly/tensorflow,benoitsteiner/tensorflow-xsmm,ZhangXinNan/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,hehongliang/tensorflow,caisq/tensorflow,nburn42/tensorflow,xzturn/tensorflow,manipopopo/tensorflow,brchiu/tensorflow,alsrgv/tensorflow,jhseu/tensorflow,Bismarrck/tensorflow,allenlavoie/tensorflow,Intel-tensorflow/tensorflow,Xeralux/tensorflow,xodus7/tensorflow,manipopopo/tensorflow,girving/tensorflow,ageron/tensorflow,caisq/tensorflow,jbedorf/tensorflow,allenlavoie/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,jalexvig/tensorflow,yanchen036/tensorflow,alsrgv/tensorflow,ageron/tensorflow,seanli9jan/tensorflow,gojira/tensorflow,meteorcloudy/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,benoitsteiner/tensorflow-xsmm,manipopopo/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,lukeiwanski/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,alsrgv/tensorflow,alshedivat/tensorflow,xzturn/tensorflow,xzturn/tensorflow,nburn42/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,jendap/tensorflow,gojira/tensorflow,drpngx/tensorflow,girving/tensorflow,renyi533/tensorflow,manipopopo/tensorflow,yongtang/tensorflow,asimshankar/tensorflow,xodus7/tensorflow,caisq/tensorflow,apark263/tensorflow,freedomtan/tensorflow,eaplatanios/tensorflow,davidzchen/tensorflow,dendisuhubdy/tensorflow,xzturn/tensorflow,Xeralux/tensorflow,seanli9jan/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,hehongliang/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,nburn42/tensorflow,alshedivat/tensorflow,AnishShah/tensorflow,paolodedios/tensorflow,drpngx/tensorflow,hehongliang/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,eaplatanios/tensorflow,apark263/tensorflow,adit-chandra/tensorflow,manipopopo/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,gojira/tensorflow,kobejean/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,AnishShah/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,allenlavoie/tensorflow,allenlavoie/tensorflow,Intel-Corporation/tensorflow,seanli9jan/tensorflow,snnn/tensorflow,gunan/tensorflow,xodus7/tensorflow,dongjoon-hyun/tensorflow,seanli9jan/tensorflow,Intel-tensorflow/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,aldian/tensorflow,aam-at/tensorflow,asimshankar/tensorflow,jart/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,girving/tensorflow,yongtang/tensorflow,yongtang/tensorflow,arborh/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Bismarrck/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,alsrgv/tensorflow,ppwwyyxx/tensorflow,brchiu/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,AnishShah/tensorflow,chemelnucfin/tensorflow,hfp/tensorflow-xsmm,renyi533/tensorflow,aselle/tensorflow,gunan/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,drpngx/tensorflow,ZhangXinNan/tensorflow,DavidNorman/tensorflow,xodus7/tensorflow,alshedivat/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,ZhangXinNan/tensorflow,jhseu/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,jendap/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,jart/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,karllessard/tensorflow,allenlavoie/tensorflow,davidzchen/tensorflow,nburn42/tensorflow,apark263/tensorflow,kobejean/tensorflow,drpngx/tensorflow,adit-chandra/tensorflow,benoitsteiner/tensorflow-xsmm,theflofly/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,seanli9jan/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,lukeiwanski/tensorflow,jalexvig/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,dancingdan/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,caisq/tensorflow,yanchen036/tensorflow,jart/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,ppwwyyxx/tensorflow,nburn42/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,gunan/tensorflow,AnishShah/tensorflow,petewarden/tensorflow,drpngx/tensorflow,asimshankar/tensorflow,drpngx/tensorflow,jalexvig/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,arborh/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,alshedivat/tensorflow,hfp/tensorflow-xsmm,renyi533/tensorflow,dongjoon-hyun/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jalexvig/tensorflow,theflofly/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,brchiu/tensorflow,theflofly/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,ZhangXinNan/tensorflow,petewarden/tensorflow,petewarden/tensorflow,drpngx/tensorflow,jalexvig/tensorflow,alsrgv/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,sarvex/tensorflow,gautam1858/tensorflow,arborh/tensorflow,gojira/tensorflow,xodus7/tensorflow,AnishShah/tensorflow,kevin-coder/tensorflow-fork,brchiu/tensorflow,meteorcloudy/tensorflow,snnn/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,Intel-tensorflow/tensorflow