fast::TensorAccess class

Public types

using pointer = std::unique_ptr<TensorAccess>

Constructors, destructors, conversion operators

TensorAccess(float* data, TensorShape shape, std::shared_ptr<Tensor> tensor)
~TensorAccess()

Public functions

auto getRawData() -> float*
auto getShape() const -> TensorShape
void release()
template<int NumDimensions>
auto getData() const -> TensorData<NumDimensions>