Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ data_t
Function
data_t
deps/pybind11/tests/test_numpy_array.cpp:87–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
86
template <typename... Ix>
87
arr data_t(const arr_t &a, Ix... index) {
88
return arr(a.size() - a.index_at(index...), a.data(index...));
89
}
90
91
template <typename... Ix>
92
arr &mutate_data(arr &a, Ix... index) {
Callers
nothing calls this directly
Calls
4
arr
Function · 0.85
index_at
Method · 0.80
size
Method · 0.65
data
Method · 0.45
Tested by
no test coverage detected