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

Method Array

mlx/data/Array.h:34–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33 template <class... Args>
34 Array(ArrayType type, Args... dim)
35 : Array(type, std::vector<int64_t>({dim...})){};
36
37 template <class T>
38 Array(const std::vector<T>& vec) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected