|
lamppp
|
Public Member Functions | |
| VariableImpl (const tensor::Tensor &data, bool requires_grad=false) | |
| VariableImpl (const tensor::Tensor &data, const tensor::Tensor &grad, bool requires_grad, const std::shared_ptr< Function > &grad_fn) | |
Public Attributes | |
| tensor::Tensor | data |
| tensor::Tensor | grad |
| std::shared_ptr< Function > | _grad_fn |
| bool | requires_grad |