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

Method NumericTensor

cpp/src/arrow/tensor.h:251–254  ·  view source on GitHub ↗

Constructor with non-negative strides and dimension names

Source from the content-addressed store, hash-verified

249
250 /// Constructor with non-negative strides and dimension names
251 NumericTensor(const std::shared_ptr<Buffer>& data, const std::vector<int64_t>& shape,
252 const std::vector<int64_t>& strides,
253 const std::vector<std::string>& dim_names)
254 : Tensor(TypeTraits<TYPE>::type_singleton(), data, shape, strides, dim_names) {}
255
256 /// Constructor with no dimension names or strides, data assumed to be row-major
257 NumericTensor(const std::shared_ptr<Buffer>& data, const std::vector<int64_t>& shape)

Callers

nothing calls this directly

Calls 1

type_singletonFunction · 0.70

Tested by

no test coverage detected