![]() |
Nabla
1.0
Nabla - a DSL for Automatic differentiation
|
#include <Operators.h>


Public Member Functions | |
| void | backward () |
| Add (Node *a, Node *b, int count) | |
| Node * | forward (const Node *a, const Node *b) |
Public Member Functions inherited from Operator | |
| Operator () | |
Public Member Functions inherited from Node | |
| Node () | |
| virtual | ~Node ()=default |
| void | print () |
| Node () | |
| Node (Tensor &data) | |
| Node & | forward (const Node &a, const Node &b) |
Public Attributes | |
| int | add_count |
Public Attributes inherited from Node | |
| 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 |
|
virtual |
Reimplemented from Operator.
| int Add::add_count |
1.8.17