SHOGUN  6.1.0
List of all members | Public Types | Static Public Member Functions
multiply_by_logistic_derivative< Backend::EIGEN3, Matrix > Struct Template Reference

Detailed Description

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

Specialization of multiply_by_logistic_derivative for the Eigen3 backend

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

Public Types

typedef Matrix::Scalar T

Static Public Member Functions

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

Member Typedef Documentation

◆ T

typedef Matrix::Scalar T

Scalar type

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

Member Function Documentation

◆ compute()

static void compute ( SGMatrix< T A,
SGMatrix< T C 

Performs the operation C(i,j) = C(i,j) * A(i,j) * (1.0-A(i,j) for all i and j

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

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

SHOGUN Machine Learning Toolbox - Documentation