Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ Array2Numpy
Function
Array2Numpy
python/oneflow/test/graph/test_util.py:91–92 ·
view source on GitHub ↗
(input_array, target_shape)
Source
from the content-addressed store, hash-verified
89
90
91
def
Array2Numpy(input_array, target_shape):
92
return
np.array(input_array).reshape(target_shape, order=
"C"
)
93
94
95
def
Index2Coordinate(idx, tensor_shape):
Callers
4
_np_reflection_pad2d_grad
Function · 0.90
_np_replication_pad2d_grad
Function · 0.90
_np_zero_pad2d_grad
Function · 0.90
_np_zero_pad2d_grad
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected