[XLA] Don't overload IrArray::multidim() with public and private versions.
[XLA] Don't overload IrArray::multidim() with public and private versions.

Overload resolution happens before access checks.  So the old way of
doing it meant that you could never call multidim() on a non-const
IrArray (because that would be resolved to the private function).

PiperOrigin-RevId: 203823164

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