MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NumpyArrayF32

Function NumpyArrayF32

tensorflow/compiler/xla/python/xla_client_test.py:79–81  ·  view source on GitHub ↗

Convenience wrapper to create Numpy arrays with a np.float32 dtype.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

77
78
79def NumpyArrayF32(*args, **kwargs):
80 """Convenience wrapper to create Numpy arrays with a np.float32 dtype."""
81 return np.array(*args, dtype=np.float32, **kwargs)
82
83
84def NumpyArrayF64(*args, **kwargs):

Calls

no outgoing calls

Tested by

no test coverage detected