| 267 | |
| 268 | template <typename T> |
| 269 | SimpleTensor<T>::SimpleTensor(TensorShape shape, Format format) |
| 270 | : _buffer(nullptr), _shape(shape), _format(format), _quantization_info(), _data_layout(DataLayout::NCHW) |
| 271 | { |
| 272 | _num_channels = num_channels(); |
| 273 | _buffer = std::make_unique<T[]>(num_elements() * _num_channels); |
| 274 | } |
| 275 | |
| 276 | template <typename T> |
| 277 | SimpleTensor<T>::SimpleTensor( |
nothing calls this directly
no test coverage detected