MCPcopy Create free account
hub / github.com/apple/coremltools / shape

Method shape

deps/pybind11/include/pybind11/numpy.h:940–940  ·  view source on GitHub ↗

Dimensions of the array

Source from the content-addressed store, hash-verified

938
939 /// Dimensions of the array
940 const ssize_t *shape() const { return detail::array_proxy(m_ptr)->dimensions; }
941
942 /// Dimension along a given axis
943 ssize_t shape(ssize_t dim) const {

Callers 5

test_array_attributesFunction · 0.45
auxiliariesFunction · 0.45
TEST_SUBMODULEFunction · 0.45
conformableMethod · 0.45
get_shape_for_arrayFunction · 0.45

Calls 2

array_proxyFunction · 0.85
shapeFunction · 0.50

Tested by 3

test_array_attributesFunction · 0.36
auxiliariesFunction · 0.36
TEST_SUBMODULEFunction · 0.36