Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ ndim
Method
ndim
deps/pybind11/include/pybind11/numpy.h:934–934 ·
view source on GitHub ↗
Number of dimensions
Source
from the content-addressed store, hash-verified
932
933
/// Number of dimensions
934
ssize_t ndim() const { return detail::array_proxy(m_ptr)->nd; }
935
936
/// Base object
937
object base() const { return reinterpret_borrow<object>(detail::array_proxy(m_ptr)->base); }
Callers
8
test_array_attributes
Function · 0.45
test_dtype_refcount_leak
Function · 0.45
auxiliaries
Function · 0.45
TEST_SUBMODULE
Function · 0.45
conformable
Method · 0.45
load
Method · 0.45
load
Function · 0.45
load
Method · 0.45
Calls
1
array_proxy
Function · 0.85
Tested by
4
test_array_attributes
Function · 0.36
test_dtype_refcount_leak
Function · 0.36
auxiliaries
Function · 0.36
TEST_SUBMODULE
Function · 0.36