Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-data
/ shape
Method
shape
mlx/data/Array.cpp:53–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
int64_t Array::shape(int d) const {
54
return shape_[checkdim(d)];
55
}
56
57
int64_t Array::size() const {
58
int64_t size = 1;
Callers
15
mlx_data_export_dataset
Function · 0.45
init_mlx_data_core
Function · 0.45
to_array
Function · 0.45
to_py_array
Function · 0.45
clone
Function · 0.45
pad
Function · 0.45
slice
Function · 0.45
copy
Function · 0.45
batch
Function · 0.45
sub
Function · 0.45
apply
Function · 0.45
levenshtein
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected