Allow either string device, or DeviceSpec for FakeOp
Allow either string device, or DeviceSpec for FakeOp

PiperOrigin-RevId: 202371689

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