Click or drag to resize

Net Class

http://www.emgu.com
This class allows to create and manipulate comprehensive artificial neural networks.
Inheritance Hierarchy

Namespace:  Emgu.CV.Dnn
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public class Net : UnmanagedObject

The Net type exposes the following members.

Constructors
  NameDescription
Public methodNet
Default constructor.
Top
Properties
  NameDescription
Public propertyEmpty
Returns true if there are no layers in the network.
Public propertyLayerNames
Return the LayerNames
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyUnconnectedOutLayers
Returns indexes of layers with unconnected outputs.
Public propertyUnconnectedOutLayersNames
Returns names of layers with unconnected outputs.
Top
Methods
  NameDescription
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
Destructor
(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.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also