Graph.destroy()

Info Value
Package mvnc
Module mvncapi
Version 2.0
See also Graph, Device, Graph.allocate(), Graph.allocate_with_fifos()

Overview

This method frees resources associated with a Graph. This must be called for every Graph created.

Syntax

graph.destroy()

Parameters

None.

Return

None

Raises

Exception with a status code from Status if underlying function calls return a status other than Status.OK.

Notes

None.

Example

from mvnc import mvncapi

# Create a Graph
graph = mvncapi.Graph('graph1')

# Destroy the Graph
graph.destroy()