Fix grad check compatibility
Fix grad check compatibility

Relevant [SO](https://stackoverflow.com/questions/58261348/valueerror-tried-to-convert-y-to-a-tensor-and-failed-error-none-values-not)
gunan/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,arborh/tensorflow,petewarden/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,karllessard/tensorflow,aldian/tensorflow,renyi533/tensorflow,jhseu/tensorflow,aldian/tensorflow,freedomtan/tensorflow,gunan/tensorflow,petewarden/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,annarev/tensorflow,annarev/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,aam-at/tensorflow,sarvex/tensorflow,gunan/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,yongtang/tensorflow,gunan/tensorflow,jhseu/tensorflow,karllessard/tensorflow,yongtang/tensorflow,arborh/tensorflow,gautam1858/tensorflow,arborh/tensorflow,sarvex/tensorflow,jhseu/tensorflow,aam-at/tensorflow,aldian/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,arborh/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,annarev/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,arborh/tensorflow,xzturn/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,arborh/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,jhseu/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,aldian/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,jhseu/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,arborh/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,annarev/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,jhseu/tensorflow,sarvex/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,annarev/tensorflow,yongtang/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,gunan/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,sarvex/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,aam-at/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,xzturn/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,gunan/tensorflow,gunan/tensorflow,davidzchen/tensorflow