matmul_op_test: Use gradient_checker_v2
matmul_op_test: Use gradient_checker_v2

gradient_checker_v2 works with both TensorFlow 1.x and 2.x, so this usage
makes it possible to run more tests in matmul_op_test.py with TF2_BEHAVIOR
enabled.

Remove some @test_util.run_deprecated_v1 annotations.

PiperOrigin-RevId: 224053364

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