Skip to content

dnn_AutoPadding

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

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

ARGUMENTSConstructor or factory
CLASSdnn_AutoPadding
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.

GatherND layer

GatherND takes two inputs data and indices of rank r >= 1 and q >= 1 respectively, and an optional attribute batch_dims. It gathers slices from data into an output tensor.

Constructors and members

static AUTO_PAD_NONE

auto pad none constant (0), defined by OpenCV for cv::dnn.

AUTO_PAD_NONE: dnn_AutoPaddingValue<0>,

static AUTO_PAD_SAME_UPPER

auto pad same upper constant (1), defined by OpenCV for cv::dnn.

AUTO_PAD_SAME_UPPER: dnn_AutoPaddingValue<1>,

static AUTO_PAD_SAME_LOWER

auto pad same lower constant (2), defined by OpenCV for cv::dnn.

AUTO_PAD_SAME_LOWER: dnn_AutoPaddingValue<2>,

static AUTO_PAD_VALID

auto pad valid constant (3), defined by OpenCV for cv::dnn.

AUTO_PAD_VALID: dnn_AutoPaddingValue<3>

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.