|
BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
|
#include <expression_template_traits.h>


Public Types | |
| using | return_type = decltype(std::declval< Operation >()(std::declval< typename ArrayType::value_type >())) |
| using | value_type = std::decay_t< return_type > |
| using | system_tag = typename ArrayType::system_tag |
Public Types inherited from bc::tensors::exprs::Expression_Base< Un_Op< Operation, ArrayType > > | |
| using | copy_constructible = std::false_type |
| using | move_constructible = std::false_type |
| using | copy_assignable = std::false_type |
| using | move_assignable = std::false_type |
| using | expression_template_expression_type = std::true_type |
Public Member Functions | |
| BCINLINE const Operation & | get_operation () const |
| template<class... args> | |
| BCINLINE | Un_Op (ArrayType v, const args &... args_) |
| template<class... integers> | |
| BCINLINE value_type | operator() (integers... index) const |
| BCINLINE value_type | operator[] (int index) const |
| template<class... integers> | |
| BCINLINE value_type | operator() (integers... index) |
| BCINLINE value_type | operator[] (int index) |
| BCINLINE const auto | inner_shape () const |
| BCINLINE bc::size_t | size () const |
| BCINLINE bc::size_t | rows () const |
| BCINLINE bc::size_t | cols () const |
| BCINLINE bc::size_t | dim (int i) const |
Public Member Functions inherited from bc::tensors::exprs::Expression_Base< Un_Op< Operation, ArrayType > > | |
| BCINLINE const auto | inner_shape () const |
| BCINLINE const auto | get_shape () const |
| BCINLINE bc::size_t | outer_dim () const |
Public Member Functions inherited from bc::tensors::exprs::Expression_Template_Base< Un_Op< Operation, ArrayType > > | |
| BCINLINE const Un_Op< Operation, ArrayType > & | expression_template () const |
| BCINLINE Un_Op< Operation, ArrayType > & | expression_template () |
| BCINLINE | Expression_Template_Base () |
| void | deallocate () const |
Public Attributes | |
| ArrayType | array |
Static Public Attributes | |
| static constexpr int | tensor_dim = ArrayType::tensor_dim |
| static constexpr int | tensor_iterator_dim = ArrayType::tensor_iterator_dim |
| using bc::tensors::exprs::Un_Op< Operation, ArrayType >::return_type = decltype(std::declval<Operation>()( std::declval<typename ArrayType::value_type>())) |
| using bc::tensors::exprs::Un_Op< Operation, ArrayType >::system_tag = typename ArrayType::system_tag |
| using bc::tensors::exprs::Un_Op< Operation, ArrayType >::value_type = std::decay_t<return_type> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| ArrayType bc::tensors::exprs::Un_Op< Operation, ArrayType >::array |
|
static |
|
static |
1.8.13