Update SessionTest.testFeedShapeCompatibility to work with C API enabled.
Update SessionTest.testFeedShapeCompatibility to work with C API enabled.

This test got lost in the transition. Prior to enabling the C API,
some constant node whose values were used for shape inference would be
marked as unfeedable in tensor_util.constant_value
(https://github.com/tensorflow/tensorflow/blob/r1.8/tensorflow/python/framework/tensor_util.py#L810).

This shape inference path is no longer used with the C API enabled, so
the constant node is successfully fed, triggering a runtime shape error.

This is arguably a regression, but given that the Python code wouldn't
mark all nodes evaluated during shape inference as unfeedable, it
seems ok to relax the check a little more.

PiperOrigin-RevId: 197002741

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