MLX
Loading...
Searching...
No Matches
Namespaces | Functions
slicing.h File Reference
#include "mlx/array.h"

Go to the source code of this file.

Namespaces

namespace  mlx
 
namespace  mlx::core
 

Functions

std::tuple< bool, int64_t, std::vector< int64_t > > mlx::core::prepare_slice (const array &in, const std::vector< int > &start_indices, const std::vector< int > &strides)
 
void mlx::core::shared_buffer_slice (const array &in, const std::vector< size_t > &out_strides, size_t data_offset, size_t data_size, array &out)