Skip to contents
torch
0.14.0
Articles
Installation
Tensors
Creating tensors
Indexing
Tensor class
Serialization
Datasets
Loading Data
Autograd
Using autograd
Extending autograd
Python models
Jit Compilation
Examples
basic-autograd
basic-nn-module
dataset
Advanced
Memory management
Building locally
Automatic Mixed Precision
Modifying source code
Reference
Changelog
Checks if the object is an nn_module
Source:
R/nn.R
is_nn_module.Rd
Checks if the object is an nn_module
Usage
is_nn_module
(
x
)
Arguments
x
object to check