(npy_path, dtype=np.float32)
return dense_feature
Load a data in npy format.
Load a data in npy format.
Load a data in npy format .
def load_npy(npy_path, dtype=np.float32):
  """Load a data in npy format."""
  dense_feature = np.load(npy_path).astype(dtype)
  return dense_feature
def load_npy ( npy_path , dtype = np . float32 ) : dense_feature = np . load ( npy_path ) . astype ( dtype ) return dense_feature