[XLA] Support generating tuple shaped fake data in client testing
[XLA] Support generating tuple shaped fake data in client testing

The previous implementation failed over in case of a tuple shaped input
what broke the replay computation tool for the case where the input is a
tuple.

PiperOrigin-RevId: 185366228

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