Type Alias deepviewrt_sys::NNTensor

source ·
pub type NNTensor = nn_tensor;
Expand description

@struct NNTensor

Tensors are represented by the @ref NNTensor class. The dimensions are variable and can be from 1 to 4 dimensions. Internally the shape of a 1-dimensional tensor would be [N 1 1 1] and a scalar [1 1 1 1].

Tensors can exist locally on the CPU or when initialized using an @ref NNEngine object the tensors can be mapped to a buffer on a compute device such as a GPU or NPU using the DeepViewRT OpenCL or OpenVX engine plugins.

Aliased Type§

struct NNTensor { /* private fields */ }