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

Function main

examples/cmake_project/example.cpp:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace mx = mlx::core;
8
9int main() {
10 auto x = mx::array({1, 2, 3});
11 auto y = mx::array({1, 2, 3});
12 std::cout << x + y << std::endl;
13 return 0;
14}

Callers

nothing calls this directly

Calls 1

arrayFunction · 0.50

Tested by

no test coverage detected