API symbolsoptim
Copy
Adagrad
- class tensorplay.optim.adagrad.Adagrad(params: Iterable[TensorBase] | Iterable[dict[str, Any]] | Iterable[tuple[str, TensorBase]], lr: float | TensorBase = 0.01, lr_decay: float = 0, weight_decay: float = 0, initial_accumulator_value: float = 0, eps: float = 1e-10, foreach: bool | None = None, *, maximize: bool = False, differentiable: bool = False, fused: bool | None = None)[source]
Calls tensor.share_memory_() on the state sum tensors.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
