[][src]Struct opencv::dnn::EltwiseLayer

pub struct EltwiseLayer { /* fields omitted */ }

Element wise operation on inputs

Extra optional parameters:

  • "operation" as string. Values are "sum" (default), "prod", "max", "div"
  • "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"

Methods

impl EltwiseLayer[src]

pub fn as_raw_EltwiseLayer(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl EltwiseLayer[src]

Trait Implementations

impl AlgorithmTrait for EltwiseLayer[src]

impl Drop for EltwiseLayer[src]

impl LayerTrait for EltwiseLayer[src]

impl Send for EltwiseLayer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.