lamppp
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lmp::autograd::VariableImpl Struct Reference

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
 

The documentation for this struct was generated from the following file: