Computes the two-dimensional convolution. More...
Static Public Member Functions | |
template < typename eT , typename Border = BorderMode > | |
static std::enable_if< std::is_same< Border, ValidConvolution >::value, void >::type | Convolution (const arma::Mat< eT > &input, const arma::Mat< eT > &filter, arma::Mat< eT > &output, const size_t dW=1, const size_t dH=1, const size_t dilationW=1, const size_t dilationH=1) |
template < typename eT , typename Border = BorderMode > | |
static std::enable_if< std::is_same< Border, FullConvolution >::value, void >::type | Convolution (const arma::Mat< eT > &input, const arma::Mat< eT > &filter, arma::Mat< eT > &output, const size_t dW=1, const size_t dH=1, const size_t dilationW=1, const size_t dilationH=1) |
template < typename eT > | |
static void | Convolution (const arma::Cube< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output, const size_t dW=1, const size_t dH=1, const size_t dilationW=1, const size_t dilationH=1) |
template < typename eT > | |
static void | Convolution (const arma::Mat< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output, const size_t dW=1, const size_t dH=1, const size_t dilationW=1, const size_t dilationH=1) |
template < typename eT > | |
static void | Convolution (const arma::Cube< eT > &input, const arma::Mat< eT > &filter, arma::Cube< eT > &output, const size_t dW=1, const size_t dH=1, const size_t dilationW=1, const size_t dilationH=1) |
Computes the two-dimensional convolution.
This class allows specification of the type of the border type. The convolution can be compute with the valid border type of the full border type (default).
FullConvolution: returns the full two-dimensional convolution. ValidConvolution: returns only those parts of the convolution that are computed without the zero-padded edges.
BorderMode | Type of the border mode (FullConvolution or ValidConvolution). |
Definition at line 35 of file naive_convolution.hpp.
|
inlinestatic |
Definition at line 52 of file naive_convolution.hpp.
Referenced by SVDConvolution< BorderMode >::Convolution(), and NaiveConvolution< BorderMode >::Convolution().
|
inlinestatic |
Definition at line 98 of file naive_convolution.hpp.
References NaiveConvolution< BorderMode >::Convolution().
|
inlinestatic |
Definition at line 151 of file naive_convolution.hpp.
References NaiveConvolution< BorderMode >::Convolution().
|
inlinestatic |
Definition at line 187 of file naive_convolution.hpp.
References NaiveConvolution< BorderMode >::Convolution().
|
inlinestatic |
Definition at line 223 of file naive_convolution.hpp.
References NaiveConvolution< BorderMode >::Convolution().