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 Aug. 21, 2025, 5:50 p.m.