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
logistic< Backend, Matrix > Struct Template Reference

Detailed Description

template<enum Backend, class Matrix>
struct shogun::linalg::implementation::special_purpose::logistic< Backend, Matrix >

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

Definition at line 61 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

typedef Matrix::Scalar T

Scalar type

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

Member Function Documentation

static void compute ( Matrix  A,
Matrix  result 
)
static

Applies the elementwise logistic function f(x) = 1/(1+exp(-x)) to a matrix


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

SHOGUN Machine Learning Toolbox - Documentation