Table of Contents

Method DumpToPbtxt

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

DumpToPbtxt(string)

Dump net structure, hyperparameters, backend, target and fusion to a pbtxt file.

public void DumpToPbtxt(string path)

Parameters

path string

path to output file with .pbtxt extension.

Remarks

Requires the network's output blobs to be allocated (e.g. after the input shape is known and the net has been set up); otherwise OpenCV raises an exception.