SHOGUN  6.1.0
List of all members | Public Types | Static Public Member Functions
rectified_linear< backend, Matrix > Struct Template Reference

Detailed Description

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

Generic class which is specialized for different backends to perform the rectified_linear operation

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

Public Types

typedef Matrix::Scalar T

Static Public Member Functions

static void compute (Matrix A, Matrix result)

Member Typedef Documentation

◆ T

typedef Matrix::Scalar T

Scalar type

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

Member Function Documentation

◆ compute()

static void compute ( Matrix  A,
Matrix  result 

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

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

SHOGUN Machine Learning Toolbox - Documentation