Replace deprecated usage of np.asscalar with np.ndarray.item()
Replace deprecated usage of np.asscalar with np.ndarray.item()

[`numpy.asscalar()` is deprecated since version 1.16](https://github.com/numpy/numpy/blob/master/numpy/lib/type_check.py#L519-L548).

This PR replaces its usage with [`numpy.ndarray.item()`](https://www.numpy.org/devdocs/reference/generated/numpy.ndarray.item.html)

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