dnn_ProfilingMode
import { dnn_ProfilingMode } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Native enum entries for dnn profiling mode. Pass an entry to enum-typed arguments or its .value to numeric arguments.
Constructors and members
static DNN_PROFILE_NONE
Don't do any profiling
DNN_PROFILE_NONE: dnn_ProfilingModeValue<0>,static DNN_PROFILE_SUMMARY
Collect the summary statistics by layer type (e.g. all "Conv2D" or all "Add") and print it in the end, sorted by the execution time (most expensive layers first). Note that it may introduce some overhead and cause slowdown, especially in the case of non-CPU backends.
DNN_PROFILE_SUMMARY: dnn_ProfilingModeValue<1>,static DNN_PROFILE_DETAILED
Print execution time of each single layer. Note that it may introduce some overhead and cause slowdown, especially in the case of non-CPU backends.
DNN_PROFILE_DETAILED: dnn_ProfilingModeValue<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.