SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Types | Static Public Member Functions
rectified_linear< Backend::EIGEN3, Matrix > Struct Template Reference

Detailed Description

template<class Matrix>
struct shogun::linalg::implementation::special_purpose::rectified_linear< Backend::EIGEN3, Matrix >

Specialization of rectified_linear for the Eigen3 backend

Definition at line 190 of file implementation/SpecialPurpose.h.

Public Types

typedef Matrix::Scalar T
 

Static Public Member Functions

static void compute (SGMatrix< T > A, SGMatrix< T > result)
 

Member Typedef Documentation

typedef Matrix::Scalar T

Scalar type

Definition at line 193 of file implementation/SpecialPurpose.h.

Member Function Documentation

static void compute ( SGMatrix< T A,
SGMatrix< T result 
)
static

Applies the elementwise rectified linear function f(x) = max(0,x) to a matrix

Definition at line 196 of file implementation/SpecialPurpose.h.


The documentation for this struct was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation