Skip to contents
torch
0.13.0
Articles
Installation
Tensors
Creating tensors
Indexing
Tensor class
Serialization
Datasets
Loading Data
Autograd
Using autograd
Extending autograd
Python models
Examples
basic-autograd
basic-nn-module
dataset
Advanced
Memory management
Building locally
Automatic Mixed Precision
Reference
Changelog
Checks if the object is a torch optimizer
Source:
R/optim.R
is_optimizer.Rd
Checks if the object is a torch optimizer
Usage
is_optimizer
(
x
)
Arguments
x
object to check