![]() |
Nabla
1.0
Nabla - a DSL for Automatic differentiation
|
#include <Operators.h>
Public Member Functions | |
void | backward () |
Transpose (Node *a, int count) | |
Node * | forward (const Node *a) |
![]() | |
Operator () | |
![]() | |
Node () | |
virtual | ~Node ()=default |
void | print () |
Node () | |
Node (Tensor &data) | |
Node & | forward (const Node &a, const Node &b) |
Public Attributes | |
int | trans_count |
![]() | |
std::string | name |
bool | is_visited = false |
bool | is_scalar = false |
std::vector< Node * > | inputs |
Tensor | data |
double | ddata |
Tensor | gradient |
double | scalar_gradient = 0 |
Transpose::Transpose | ( | Node * | a, |
int | count | ||
) |
|
virtual |
Reimplemented from Operator.
int Transpose::trans_count |