Click or drag to resize

Net Methods

The Net type exposes the following members.

Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the memory associated with this network.
(Overrides DisposableObjectDisposeObject.)
Public methodDump
Dump net to String
Public methodDumpToFile
Dump net structure, hyperparameters, backend, target and fusion to dot file
Public methodEnableFusion
Enables or disables layer fusion in the network.
Public methodEquals (Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodForward(String)
Runs forward pass for the whole network.
Public methodForward(IOutputArrayOfArrays, String)
Runs forward pass to compute output of layer with name outputName.
Public methodForward(IOutputArrayOfArrays, String)
Runs forward pass to compute outputs of layers listed in outBlobNames.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLayer(Int32)
Returns layer with specified id which the network use.
Public methodGetLayer(String)
Returns layer with specified name which the network use.
Public methodGetLayerId
Converts string name of the layer to the integer identifier.
Public methodGetPerfProfile
Returns overall time for inference and timings (in ticks) for layers. Indexes in returned vector correspond to layers ids. Some layers can be fused with others, in this case zero ticks count will be return for that skipped layers.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodSetHalideScheduler
Schedule layers that support Halide backend. Then compile them for specific target. For layers that not represented in scheduling file or if no manual scheduling used at all, automatic scheduling will be applied.
Public methodSetInput
Sets the new value for the layer output blob.
Public methodSetPreferableBackend
Ask network to use specific computation backend where it supported.
Public methodSetPreferableTarget
Ask network to make computations on specific target device.
Public methodToString (Inherited from Object.)
See Also