| Info | Value |
|---|---|
| Header | mvnc.h |
| Version | 2.0 |
| See also | struct ncGraphHandle_t, struct ncFifoHandle_t, ncGraphOption_t, ncFifoOption_t, ncGraphGetOption(), ncFifoGetOption() |
The ncTensorDescriptor_t struct describes graph inputs and outputs.
| Member | Type | Description |
|---|---|---|
| n | unsigned int | The number of images in the batch. |
| c | unsigned int | The number of channels in the image. For image tensors, this is the number of channels per pixel. |
| w | unsigned int | The width of the image. For non-image tensors, this is always 1. |
| h | unsigned int | The height of the image. For non-image tensors, this is always 1. |
| totalSize | unsigned int | The total size of the data. This is the number of bytes required to hold the entire tensor. |