Intel® Movidius™ Neural Compute SDK

View the Project on GitHub

class TensorDescriptor(ctypes.Structure)

Info Value
Package mvnc
Module mvncapi
Version 2.0
See also Graph, Fifo, GraphOption, FifoOption, Graph.get_option(), Fifo.get_option()

TensorDescriptor is a structure that describes graph inputs and outputs.

Field Type Description
n int The number of tensors in the batch.
c int The number of channels per tensor data element. For image tensors, this is the number of channels per pixel.
w int For image tensors, this is the width in pixels. For non-image tensors, this is always 1.
h int For image tensors, this is the height in pixels. For non-image tensors, this is always 1.
totalSize int The total size of the data. This is the number of bytes required to hold the entire tensor.

Notes