MCPcopy Create free account
hub / github.com/google-deepmind/chex / array_from_shape

Function array_from_shape

chex/_src/asserts_test.py:39–40  ·  view source on GitHub ↗
(*shape)

Source from the content-addressed store, hash-verified

37
38
39def array_from_shape(*shape):
40 return np.ones(shape=shape)
41
42
43def emplace(arrays, dtype):

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…