Fix eager Pooling1D unit test for data_format='channels_first'
Fix eager Pooling1D unit test for data_format='channels_first'

PiperOrigin-RevId: 183196050

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