conv2d

conv2d#

2D convolution

template<typename In1Type, typename In2Type>
__MATX_INLINE__ auto matx::conv2d(const In1Type &i1, const In2Type &i2, matxConvCorrMode_t mode)#

2D convolution

Template Parameters:
  • In1Type – Type of first input

  • In2Type – Type of second input

Parameters:
  • i1 – First input operator

  • i2 – Second input operator

  • mode – Convolution mode

template<typename In1Type, typename In2Type>
__MATX_INLINE__ auto matx::conv2d(const In1Type &i1, const In2Type &i2, const int32_t (&axis)[2], matxConvCorrMode_t mode)#

2D convolution

Template Parameters:
  • In1Type – Type of first input

  • In2Type – Type of second input

Parameters:
  • i1 – First input operator

  • i2 – Second input operator

  • axis – the axis to perform convolution

  • mode – Convolution mode

Examples#

(this->cv_same = conv2d(this->av, this->bv_even, MATX_C_MODE_SAME)).run(this->exec);