Learn R Programming

torch (version 0.8.1)

is_nn_module: Checks if the object is an nn_module

Description

Checks if the object is an nn_module

Usage

is_nn_module(x)

Arguments

x

object to check