is_optimizer: Checks if the object is a torch optimizer

View source: R/optim.R

is_optimizerR Documentation

Checks if the object is a torch optimizer

Description

Checks if the object is a torch optimizer

Usage

is_optimizer(x)

Arguments

x

object to check


torch documentation built on Nov. 5, 2025, 7:02 p.m.