Fix tf.image.ssim_multiscale execution issue
Fix tf.image.ssim_multiscale execution issue

This fix tries to address the issue raised in 28241 where
tf.image.ssim_multiscale will throw out error if the input
is numpy array instead of tensor.

This fix adds the conversion (also removed duplicated shape checking).

This fix fixes 28241.

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

ppwwyyxx/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,ppwwyyxx/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,chemelnucfin/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,jhseu/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,aldian/tensorflow,arborh/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,freedomtan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,xzturn/tensorflow,gunan/tensorflow,xzturn/tensorflow,arborh/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,arborh/tensorflow,yongtang/tensorflow,yongtang/tensorflow,yongtang/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,gunan/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,alsrgv/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,chemelnucfin/tensorflow,renyi533/tensorflow,petewarden/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,jhseu/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,aldian/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,karllessard/tensorflow,ghchinoy/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,annarev/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,karllessard/tensorflow,annarev/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,gunan/tensorflow,annarev/tensorflow,arborh/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,arborh/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,sarvex/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,annarev/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,ghchinoy/tensorflow,aldian/tensorflow,gautam1858/tensorflow,chemelnucfin/tensorflow,ghchinoy/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,jhseu/tensorflow,petewarden/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,gunan/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,chemelnucfin/tensorflow,cxxgtxy/tensorflow,alsrgv/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,gunan/tensorflow,alsrgv/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,arborh/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,renyi533/tensorflow,xzturn/tensorflow,renyi533/tensorflow,xzturn/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,xzturn/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,gunan/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow