fix layout error when src tensor is mkl
fix layout error when src tensor is mkl

Change-Id: I6bcfc8981867f1b60591c65fde77c92cff298694

aam-at/tensorflow,apark263/tensorflow,apark263/tensorflow,Bismarrck/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,apark263/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,apark263/tensorflow,kevin-coder/tensorflow-fork,annarev/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,arborh/tensorflow,xzturn/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,apark263/tensorflow,aldian/tensorflow,jbedorf/tensorflow,jendap/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,asimshankar/tensorflow,yongtang/tensorflow,asimshankar/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ageron/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,xzturn/tensorflow,petewarden/tensorflow,hfp/tensorflow-xsmm,freedomtan/tensorflow,paolodedios/tensorflow,Bismarrck/tensorflow,arborh/tensorflow,xzturn/tensorflow,Bismarrck/tensorflow,annarev/tensorflow,Bismarrck/tensorflow,apark263/tensorflow,freedomtan/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,jhseu/tensorflow,hfp/tensorflow-xsmm,asimshankar/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,freedomtan/tensorflow,aldian/tensorflow,gunan/tensorflow,aldian/tensorflow,karllessard/tensorflow,jbedorf/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,annarev/tensorflow,freedomtan/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,gunan/tensorflow,kevin-coder/tensorflow-fork,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,yongtang/tensorflow,theflofly/tensorflow,asimshankar/tensorflow,davidzchen/tensorflow,aldian/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,alsrgv/tensorflow,gunan/tensorflow,Bismarrck/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,alsrgv/tensorflow,hfp/tensorflow-xsmm,renyi533/tensorflow,alsrgv/tensorflow,ppwwyyxx/tensorflow,jendap/tensorflow,yongtang/tensorflow,chemelnucfin/tensorflow,asimshankar/tensorflow,frreiss/tensorflow-fred,kevin-coder/tensorflow-fork,frreiss/tensorflow-fred,ghchinoy/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,apark263/tensorflow,aam-at/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,hfp/tensorflow-xsmm,gautam1858/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,petewarden/tensorflow,arborh/tensorflow,paolodedios/tensorflow,hfp/tensorflow-xsmm,petewarden/tensorflow,ghchinoy/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,xzturn/tensorflow,yongtang/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,DavidNorman/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,ageron/tensorflow,gautam1858/tensorflow,kevin-coder/tensorflow-fork,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,annarev/tensorflow,jbedorf/tensorflow,Bismarrck/tensorflow,jhseu/tensorflow,gunan/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,ghchinoy/tensorflow,ageron/tensorflow,annarev/tensorflow,yongtang/tensorflow,arborh/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,jhseu/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow,jbedorf/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,theflofly/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,gunan/tensorflow,karllessard/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,asimshankar/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,Bismarrck/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,theflofly/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,hfp/tensorflow-xsmm,hfp/tensorflow-xsmm,gunan/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,ageron/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,kevin-coder/tensorflow-fork,renyi533/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,jendap/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,sarvex/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,theflofly/tensorflow,apark263/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,gunan/tensorflow,karllessard/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,alsrgv/tensorflow,arborh/tensorflow,Bismarrck/tensorflow,aam-at/tensorflow,karllessard/tensorflow,kevin-coder/tensorflow-fork,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,gautam1858/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,jendap/tensorflow,Bismarrck/tensorflow,frreiss/tensorflow-fred,jendap/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,asimshankar/tensorflow,jendap/tensorflow,Bismarrck/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,adit-chandra/tensorflow,aldian/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,jendap/tensorflow,aldian/tensorflow,asimshankar/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,ghchinoy/tensorflow,Intel-Corporation/tensorflow,kevin-coder/tensorflow-fork,gunan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,jendap/tensorflow,gunan/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,apark263/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,hfp/tensorflow-xsmm,frreiss/tensorflow-fred,petewarden/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,theflofly/tensorflow,apark263/tensorflow,gunan/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,jendap/tensorflow,jendap/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,asimshankar/tensorflow,hfp/tensorflow-xsmm,Bismarrck/tensorflow,ageron/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,renyi533/tensorflow,paolodedios/tensorflow