BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Static Public Attributes | List of all members
bc::oper::operation_traits< T > Struct Template Reference

#include <operation_traits.h>

Static Public Attributes

static constexpr int alpha_modifier
 
static constexpr int beta_modifier
 
static constexpr bool is_linear_operation = std::is_base_of<linear_operation,T>::value
 
static constexpr bool is_linear_assignment_operation = std::is_base_of<linear_assignment_operation, T>::value
 
static constexpr bool is_assignment_operation = std::is_base_of<assignment_operation, T>::value
 
static constexpr bool is_blas_function = std::is_base_of<BLAS_Function, T>::value
 
static constexpr bool is_nonlinear_operation = !is_blas_function && !is_linear_operation
 

Member Data Documentation

◆ alpha_modifier

template<class T >
constexpr int bc::oper::operation_traits< T >::alpha_modifier
static

◆ beta_modifier

template<class T >
constexpr int bc::oper::operation_traits< T >::beta_modifier
static

◆ is_assignment_operation

template<class T >
constexpr bool bc::oper::operation_traits< T >::is_assignment_operation = std::is_base_of<assignment_operation, T>::value
static

◆ is_blas_function

template<class T >
constexpr bool bc::oper::operation_traits< T >::is_blas_function = std::is_base_of<BLAS_Function, T>::value
static

◆ is_linear_assignment_operation

template<class T >
constexpr bool bc::oper::operation_traits< T >::is_linear_assignment_operation = std::is_base_of<linear_assignment_operation, T>::value
static

◆ is_linear_operation

template<class T >
constexpr bool bc::oper::operation_traits< T >::is_linear_operation = std::is_base_of<linear_operation,T>::value
static

◆ is_nonlinear_operation

template<class T >
constexpr bool bc::oper::operation_traits< T >::is_nonlinear_operation = !is_blas_function && !is_linear_operation
static

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