MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / Array

Method Array

mlx/data/Array.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace data {
11
12Array::Array() {
13 init_(ArrayType::Any, std::vector<int64_t>(0));
14}
15
16Array::Array(const std::shared_ptr<const Array>& src)
17 : type_(src->type_),

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
getMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected