SVDConvolution< BorderMode > Class Template Reference

Computes the two-dimensional convolution using singular value decomposition. More...

Static Public Member Functions

template
<
typename
eT
>
static void Convolution (const arma::Mat< eT > &input, const arma::Mat< eT > &filter, arma::Mat< eT > &output)
 
template
<
typename
eT
>
static void Convolution (const arma::Cube< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output)
 
template
<
typename
eT
>
static void Convolution (const arma::Mat< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output)
 
template
<
typename
eT
>
static void Convolution (const arma::Cube< eT > &input, const arma::Mat< eT > &filter, arma::Cube< eT > &output)
 

Detailed Description


template
<
typename
BorderMode
=
FullConvolution
>

class mlpack::ann::SVDConvolution< BorderMode >

Computes the two-dimensional convolution using singular value decomposition.

This class allows specification of the type of the border type. The convolution can be computed 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.

Template Parameters
BorderModeType of the border mode (FullConvolution or ValidConvolution).

Definition at line 38 of file svd_convolution.hpp.

Member Function Documentation

◆ Convolution() [1/4]

static void Convolution ( const arma::Mat< eT > &  input,
const arma::Mat< eT > &  filter,
arma::Mat< eT > &  output 
)
inlinestatic

◆ Convolution() [2/4]

static void Convolution ( const arma::Cube< eT > &  input,
const arma::Cube< eT > &  filter,
arma::Cube< eT > &  output 
)
inlinestatic

Definition at line 122 of file svd_convolution.hpp.

References SVDConvolution< BorderMode >::Convolution().

◆ Convolution() [3/4]

static void Convolution ( const arma::Mat< eT > &  input,
const arma::Cube< eT > &  filter,
arma::Cube< eT > &  output 
)
inlinestatic

Definition at line 152 of file svd_convolution.hpp.

References SVDConvolution< BorderMode >::Convolution().

◆ Convolution() [4/4]

static void Convolution ( const arma::Cube< eT > &  input,
const arma::Mat< eT > &  filter,
arma::Cube< eT > &  output 
)
inlinestatic

Definition at line 181 of file svd_convolution.hpp.

References SVDConvolution< BorderMode >::Convolution().


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp