Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
namespace mx = mlx::core;
8
9
int 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
array
Function · 0.50
Tested by
no test coverage detected