Go to the source code of this file.
|
ReductionPlan | mlx::core::get_reduction_plan (const array &x, const std::vector< int > axes) |
|
void | mlx::core::nd_loop (std::function< void(int)> callback, const std::vector< int > &shape, const std::vector< size_t > &strides) |
|
std::pair< std::vector< int >, std::vector< size_t > > | mlx::core::shapes_without_reduction_axes (const array &x, const std::vector< int > &axes) |
|
template<typename T , typename U , typename OpS , typename OpC , typename Op > |
void | mlx::core::reduction_op (const array &x, array &out, const std::vector< int > &axes, U init, OpS ops, OpC opc, Op op) |
|
template<typename T , typename U , typename Op > |
void | mlx::core::reduction_op (const array &x, array &out, const std::vector< int > &axes, U init, Op op) |
|