contrib/eagerpython/datasets: Resource naming workaround.
contrib/eagerpython/datasets: Resource naming workaround.

tensorflow/contrib/eager/python/datasets_test.py was failing on GPU
because two tests - testTensorsPlacedOnDevice() and
testTensorsExplicitPrefetchToDevice() we're creating
FunctionBufferResources with the same shared_name, leading to
unintentional interference.

This change will make the tests pass and allow the use of
tf.contrib.eager.Iterator and
tf.data.Dataset.apply(prefetching_ops.prefetch_to_device)
in the same process without interference.

However, a more appropriate fix would probably be to use
anonymous function buffering resources (similar to
AnonymousIteratorHandle) when eager execution is enabled,
doing away with sharing by name.

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