[][src]Trait opencv::prelude::EltwiseLayerTrait

pub trait EltwiseLayerTrait: LayerTrait {
    pub fn as_raw_EltwiseLayer(&self) -> *const c_void;
pub fn as_raw_mut_EltwiseLayer(&mut self) -> *mut c_void; }

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"

Required methods

Loading content...

Implementors

impl EltwiseLayerTrait for EltwiseLayer[src]

impl EltwiseLayerTrait for PtrOfEltwiseLayer[src]

Loading content...