lamppp
Loading...
Searching...
No Matches
List of all members
lmp::nets::Parameter Class Reference
Inheritance diagram for lmp::nets::Parameter:
lmp::autograd::Variable

Additional Inherited Members

- Public Member Functions inherited from lmp::autograd::Variable
 Variable (const tensor::Tensor &data, bool requires_grad=false)
 
const tensor::Tensorgrad () const
 
const tensor::Tensordata () const noexcept
 
std::weak_ptr< Functiongrad_fn () const noexcept
 
bool requires_grad () const noexcept
 
void zero_grad ()
 
void incr_grad (const tensor::Tensor &other_grad)
 
void set_grad_fn (std::shared_ptr< Function > grad_fn)
 
void copy (const Variable &other)
 
void fill (tensor::Scalar item)
 
void backward ()
 

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