ceras
yet another deep learning engine
Public Types | Public Member Functions | Public Attributes | List of all members
ceras::value< T > Struct Template Reference

#include <value.hpp>

Inheritance diagram for ceras::value< T >:

Public Types

typedef T value_type
 

Public Member Functions

 value ()=delete
 
 value (value_type v) noexcept
 
 value (value const &) noexcept=default
 
 value (value &&) noexcept=default
 
valueoperator= (value const &) noexcept=default
 
valueoperator= (value &&) noexcept=default
 
void backward (auto) noexcept
 
template<Tensor Tsor>
Tsor const forward (Tsor const &refer) const
 

Public Attributes

value_type data_
 

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T ceras::value< T >::value_type

Constructor & Destructor Documentation

◆ value() [1/4]

template<typename T >
ceras::value< T >::value ( )
delete

◆ value() [2/4]

template<typename T >
ceras::value< T >::value ( value_type  v)
inlinenoexcept

◆ value() [3/4]

template<typename T >
ceras::value< T >::value ( value< T > const &  )
defaultnoexcept

◆ value() [4/4]

template<typename T >
ceras::value< T >::value ( value< T > &&  )
defaultnoexcept

Member Function Documentation

◆ backward()

template<typename T >
void ceras::value< T >::backward ( auto  )
inlinenoexcept

◆ forward()

template<typename T >
template<Tensor Tsor>
Tsor const ceras::value< T >::forward ( Tsor const &  refer) const
inline

◆ operator=() [1/2]

template<typename T >
value& ceras::value< T >::operator= ( value< T > &&  )
defaultnoexcept

◆ operator=() [2/2]

template<typename T >
value& ceras::value< T >::operator= ( value< T > const &  )
defaultnoexcept

Member Data Documentation

◆ data_

template<typename T >
value_type ceras::value< T >::data_

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