MCPcopy Create free account
hub / github.com/apache/arrow / ndim

Function ndim

cpp/src/arrow/extension/fixed_shape_tensor.h:72–72  ·  view source on GitHub ↗

Number of dimensions of tensor elements

Source from the content-addressed store, hash-verified

70
71 /// Number of dimensions of tensor elements
72 size_t ndim() const { return shape_.size(); }
73
74 /// Shape of tensor elements
75 const std::vector<int64_t>& shape() const { return shape_; }

Callers 2

shapeMethod · 0.50
stridesMethod · 0.50

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected