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

Method BatchShape

mlx/data/core/BatchShape.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace core {
10
11BatchShape::BatchShape() : nodim_(true), num_sample_(0) {};
12BatchShape::BatchShape(int dim) : dim_(dim), nodim_(false), num_sample_(0) {};
13
14int64_t BatchShape::size() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected