Use metric's dtype to represent matches
Use metric's dtype to represent matches

Before this change, even when the actual metric is using float32,
we used float64 to represent boolean matches.

PiperOrigin-RevId: 205891351

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