Skip to content

dnn_TracingMode

Deep neural networksclassOpenCV 5.0.0
import { dnn_TracingMode } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSdnn_TracingMode
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Native enum entries for dnn tracing mode. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static DNN_TRACE_NONE

Don't trace anything

DNN_TRACE_NONE: dnn_TracingModeValue<0>,

static DNN_TRACE_ALL

Print all executed operations along with the output tensors, more or less compatible with ONNX Runtime

DNN_TRACE_ALL: dnn_TracingModeValue<1>,

static DNN_TRACE_OP

Print all executed operations. Types and shapes of all inputs and outputs are printed, but the content is not.

DNN_TRACE_OP: dnn_TracingModeValue<2>

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.