Fix tests in list_ops_test for 2.0.
Fix tests in list_ops_test for 2.0.

PiperOrigin-RevId: 223567747

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