MCPcopy 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
86template <typename... Ix>
87arr data_t(const arr_t &a, Ix... index) {
88 return arr(a.size() - a.index_at(index...), a.data(index...));
89}
90
91template <typename... Ix>
92arr &mutate_data(arr &a, Ix... index) {

Callers

nothing calls this directly

Calls 4

arrFunction · 0.85
index_atMethod · 0.80
sizeMethod · 0.65
dataMethod · 0.45

Tested by

no test coverage detected