DLPrimitives
|
Pair of tensor and its gradient for backpropogation. More...
#include <include/dlprim/tensor.hpp>
Public Attributes | |
bool | requires_gradient =true |
float | accumulate_gradient =0.0 |
Tensor | data |
Tensor | diff |
value | |
Pair of tensor and its gradient for backpropogation.
float dlprim::TensorAndGradient::accumulate_gradient =0.0 |
bool dlprim::TensorAndGradient::requires_gradient =true |