Skip to content

dnn_NaryEltwiseLayer_OPERATION

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

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

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

Element wise operation on inputs

Extra optional parameters:
- "operation" as string. Values are "sum" (default), "prod", "max", "div", "min"
- "coeff" as float array. Specify weights of inputs for SUM operation
- "output_channels_mode" as string. Values are "same" (default, all input must have the same layout), "input_0", "input_0_truncate", "max_input_channels"

Constructors and members

static AND

and constant (0), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

AND: dnn_NaryEltwiseLayer_OPERATIONValue<0>,

static EQUAL

equal constant (0+1), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

EQUAL: dnn_NaryEltwiseLayer_OPERATIONValue<1>,

static GREATER

greater constant (0+2), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

GREATER: dnn_NaryEltwiseLayer_OPERATIONValue<2>,

static GREATER_EQUAL

greater equal constant (0+3), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

GREATER_EQUAL: dnn_NaryEltwiseLayer_OPERATIONValue<3>,

static LESS

less constant (0+4), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

LESS: dnn_NaryEltwiseLayer_OPERATIONValue<4>,

static LESS_EQUAL

less equal constant (0+5), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

LESS_EQUAL: dnn_NaryEltwiseLayer_OPERATIONValue<5>,

static OR

or constant (0+6), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

OR: dnn_NaryEltwiseLayer_OPERATIONValue<6>,

static POW

pow constant (0+7), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

POW: dnn_NaryEltwiseLayer_OPERATIONValue<7>,

static XOR

xor constant (0+8), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

XOR: dnn_NaryEltwiseLayer_OPERATIONValue<8>,

static BITSHIFT

bitshift constant (0+9), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

BITSHIFT: dnn_NaryEltwiseLayer_OPERATIONValue<9>,

static MAX

max constant (0+10), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

MAX: dnn_NaryEltwiseLayer_OPERATIONValue<10>,

static MEAN

mean constant (0+11), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

MEAN: dnn_NaryEltwiseLayer_OPERATIONValue<11>,

static MIN

min constant (0+12), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

MIN: dnn_NaryEltwiseLayer_OPERATIONValue<12>,

static MOD

Integer Mod. Reminder's sign = Divisor's sign.

MOD: dnn_NaryEltwiseLayer_OPERATIONValue<13>,

static FMOD

Floating-point Mod. Reminder's sign = Dividend's sign.

FMOD: dnn_NaryEltwiseLayer_OPERATIONValue<14>,

static PROD

Floating-point Mod. Reminder's sign = Dividend's sign.

PROD: dnn_NaryEltwiseLayer_OPERATIONValue<15>,

static SUB

sub constant (0+16), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

SUB: dnn_NaryEltwiseLayer_OPERATIONValue<16>,

static SUM

sum constant (0+17), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

SUM: dnn_NaryEltwiseLayer_OPERATIONValue<17>,

static ADD

add constant (0+18), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

ADD: dnn_NaryEltwiseLayer_OPERATIONValue<18>,

static DIV

div constant (0+19), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

DIV: dnn_NaryEltwiseLayer_OPERATIONValue<19>,

static WHERE

where constant (0+20), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

WHERE: dnn_NaryEltwiseLayer_OPERATIONValue<20>,

static BITWISE_AND

bitwise and constant (0+21), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

BITWISE_AND: dnn_NaryEltwiseLayer_OPERATIONValue<21>,

static BITWISE_OR

bitwise or constant (0+22), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

BITWISE_OR: dnn_NaryEltwiseLayer_OPERATIONValue<22>,

static BITWISE_XOR

bitwise xor constant (0+23), defined by OpenCV for cv::dnn::NaryEltwiseLayer::OPERATION.

BITWISE_XOR: dnn_NaryEltwiseLayer_OPERATIONValue<23>

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.