Allow callers to specify a preferred dtype when calling convert_to_tensor.
Allow callers to specify a preferred dtype when calling convert_to_tensor.

PiperOrigin-RevId: 214370113

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