| // Copyright © 2024 Apple Inc. | |
| namespace mx = mlx::core; | |
| int main() { | |
| auto x = mx::array({1, 2, 3}); | |
| auto y = mx::array({1, 2, 3}); | |
| std::cout << x + y << std::endl; | |
| return 0; | |
| } | |
| // Copyright © 2024 Apple Inc. | |
| namespace mx = mlx::core; | |
| int main() { | |
| auto x = mx::array({1, 2, 3}); | |
| auto y = mx::array({1, 2, 3}); | |
| std::cout << x + y << std::endl; | |
| return 0; | |
| } | |