Table of Contents

Method SetParam

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

SetParam(int, int, Mat)

Sets the new value for the learned param of the layer.

public void SetParam(int layer, int numParam, Mat blob)

Parameters

layer int

id of the layer.

numParam int

index of the layer parameter in the Layer::blobs array.

blob Mat

the new value.

SetParam(string, int, Mat)

Sets the new value for the learned param of the layer.

public void SetParam(string layerName, int numParam, Mat blob)

Parameters

layerName string

name of the layer.

numParam int

index of the layer parameter in the Layer::blobs array.

blob Mat

the new value.