Avoid recursion in ExpandDomain() as stack is not happy.
Avoid recursion in ExpandDomain() as stack is not happy.

PiperOrigin-RevId: 198629366

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