MLX in C++ example (#1736)

* MLX in C++ example

* nits

* fix docs
This commit is contained in:
Awni Hannun
2025-01-02 19:09:04 -08:00
committed by GitHub
parent 8544b42007
commit c9d30aa6ac
13 changed files with 242 additions and 31 deletions

View File

@@ -914,7 +914,7 @@ inline array gather(
return gather(a, {indices}, std::vector<int>{axis}, slice_sizes, s);
}
/** Returns Kronecker Producct given two input arrays. */
/** Compute the Kronecker product of two arrays. */
array kron(const array& a, const array& b, StreamOrDevice s = {});
/** Take array slices at the given indices of the specified axis. */