Info | Value |
---|---|
Package | mvnc |
Module | mvncapi |
Version | 2.0 |
See also | Graph, Graph.get_option(), Graph.set_option() |
GraphOption is an enumeration that defines Graph options that can be read with Graph.get_option() or set with Graph.set_option().
Option | Option Type | Possible Values | Description |
---|---|---|---|
RO_GRAPH_STATE | int | Values in the GraphState enumeration | The current state of the Graph. |
RO_TIME_TAKEN | numpy.ndarray of floats | Unbounded positive floats | The times taken per graph layer for the last inference. |
RO_INPUT_COUNT | int | 1 | The number of inputs expected by the graph. This is the length of the RO_INPUT_TENSOR_DESCRIPTORS list. Only 1 currently supported. |
RO_OUTPUT_COUNT | int | 1 | The number of outputs expected by the graph. This is the length of the RO_OUTPUT_TENSOR_DESCRIPTORS list. Only 1 currently supported. |
RO_INPUT_TENSOR_ DESCRIPTORS |
list(TensorDescriptor) | N/A | A list of TensorDescriptor objects that describe the graph inputs. |
RO_OUTPUT_TENSOR_ DESCRIPTORS |
list(TensorDescriptor) | N/A | A list of TensorDescriptor objects that describe the graph outputs. |
RO_DEBUG_INFO | str | Any | More detailed debug info when the result of a function call was Status.MYRIAD_ERROR. |
RO_GRAPH_NAME | str | Any | The name of the Graph that was set when the Graph was created. |
RO_CLASS_LIMIT | int | Unbounded positive int | The highest option class supported. |
RO_GRAPH_VERSION | numpy.ndarray of unsigned ints | [major, minor] | The version of the compiled graph file. |
RO_TIME_TAKEN _ARRAY_SIZE |
int | Unbounded positive int | The size of the array for RO_TIME_TAKEN. |
RW_EXECUTORS_NUM | int | Positive int up to RO_MAX_EXECUTORS_NUM | Reserved for future use. |