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

Function shape

cpp/src/generated/SparseTensor_generated.h:648–650  ·  view source on GitHub ↗

The dimensions of the tensor, optionally named.

Source from the content-addressed store, hash-verified

646 }
647 /// The dimensions of the tensor, optionally named.
648 const ::flatbuffers::Vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::TensorDim>> *shape() const {
649 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::TensorDim>> *>(VT_SHAPE);
650 }
651 /// The number of non-zero values in a sparse tensor.
652 int64_t non_zero_length() const {
653 return GetField<int64_t>(VT_NON_ZERO_LENGTH, 0);

Callers 1

VerifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected