BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
|
Namespaces | |
detail | |
exprs | |
io | |
iterators | |
Classes | |
class | Expression_Base |
struct | Scalar_Accessor |
class | Tensor_Accessor_Base |
class | Tensor_Base |
struct | Tensor_Dim |
Typedefs | |
template<class ExpressionTemplate > | |
using | Tensor_Accessor = std::conditional_t< ExpressionTemplate::tensor_dim==0, Scalar_Accessor, Tensor_Accessor_Base< ExpressionTemplate::tensor_dim, Tensor_Base< ExpressionTemplate > >> |
Functions | |
template<class ExpressionTemplate > | |
auto | make_tensor (ExpressionTemplate expression) |
template<class ExpressionTemplate > | |
auto | make_expression (ExpressionTemplate expression) |
template<class Expression > | |
auto | sum (const Expression_Base< Expression > &tensor) |
template<class Expression > | |
auto | value_sum (const Expression_Base< Expression > &tensor) |
template<class Expression > | |
auto | prod (const Expression_Base< Expression > &tensor) |
using bc::tensors::Tensor_Accessor = typedef std::conditional_t< ExpressionTemplate::tensor_dim == 0, Scalar_Accessor, Tensor_Accessor_Base< ExpressionTemplate::tensor_dim, Tensor_Base<ExpressionTemplate> >> |
auto bc::tensors::make_expression | ( | ExpressionTemplate | expression | ) |
auto bc::tensors::make_tensor | ( | ExpressionTemplate | expression | ) |
auto bc::tensors::prod | ( | const Expression_Base< Expression > & | tensor | ) |
auto bc::tensors::sum | ( | const Expression_Base< Expression > & | tensor | ) |
auto bc::tensors::value_sum | ( | const Expression_Base< Expression > & | tensor | ) |