Broad refactor (part 6): Add several helpers to the base converter class. Not yet used. Testing will be covered by the individual converter tests.
Broad refactor (part 6): Add several helpers to the base converter class. Not yet used. Testing will be covered by the individual converter tests.

PiperOrigin-RevId: 204469361

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