Click or drag to resize

NetGetPerfProfile Method

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.

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public long GetPerfProfile(
	out double[] timings
)

Parameters

timings
Type: SystemDouble
vector for tick timings for all layers.

Return Value

Type: Int64
overall ticks for model inference.
See Also