TensorPlay
API symbolsoptim
Copy
View MarkdownDownload .md

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]
share_memory() None[source]

Calls tensor.share_memory_() on the state sum tensors.

Ask DeepWiki