Add float16 support for tf.contrib.image.transform
Add float16 support for tf.contrib.image.transform

This fix tries to address the issue raised in 20243 where
there were no float16 support for tf.contrib.image.transform.
This fix adds the float16 support and enables related tests.

This fix fixes 20243.

Signed-off-by: Yong Tang <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

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