| NetGetLayerId Method |
Converts string name of the layer to the integer identifier.
Namespace:
OpenCvSharp.Dnn
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public int GetLayerId(
string layer
)
Public Function GetLayerId (
layer As String
) As Integer
public:
int GetLayerId(
String^ layer
)
member GetLayerId :
layer : string -> int
Parameters
- layer
- Type: SystemString
[Missing <param name="layer"/> documentation for "M:OpenCvSharp.Dnn.Net.GetLayerId(System.String)"]
Return Value
Type:
Int32id of the layer, or -1 if the layer wasn't found.
See Also