Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_attributes
Function · 0.45
auxiliaries
Function · 0.45
TEST_SUBMODULE
Function · 0.45
conformable
Method · 0.45
get_shape_for_array
Function · 0.45
Calls
2
array_proxy
Function · 0.85
shape
Function · 0.50
Tested by
3
test_array_attributes
Function · 0.36
auxiliaries
Function · 0.36
TEST_SUBMODULE
Function · 0.36