Constructor with non-negative strides and dimension names
| 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) |
nothing calls this directly
no test coverage detected