The dimensions of the tensor, optionally named.
| 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); |