Click or drag to resize

NetGetLayerId Method

Converts string name of the layer to the integer identifier.

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public int GetLayerId(
	string layer
)

Parameters

layer
Type: SystemString

Return Value

Type: Int32
id of the layer, or -1 if the layer wasn't found.
See Also