MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / Shape

Method Shape

mlx/data/op/Shape.cpp:8–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace data {
7namespace op {
8Shape::Shape(const std::string& ikey, int dim, const std::string& okey)
9 : ikey_(ikey), dim_(dim), okey_(okey), fullShape_(false) {}
10Shape::Shape(const std::string& ikey, const std::string& okey)
11 : ikey_(ikey), okey_(okey), fullShape_(true) {}
12Sample Shape::apply(const Sample& sample) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected