length: Length (or depth) of a DeepBeliefNet

Description Usage Arguments Examples

Description

Computes the number of layers of the DeepBeliefNet. Note that this is not the same as the number of RestrictedBolzmannMachine contained in the DeepBeliefNet (which is length - 1)

Usage

1
2
## S3 method for class 'DeepBeliefNet'
length(x)

Arguments

x

DeepBeliefNet object

Examples

1
2
dbn <- DeepBeliefNet(Layers(c(784, 1000, 500, 250, 30), input="continuous", output="gaussian"))
length(dbn)

xrobin/DeepLearning documentation built on Sept. 18, 2020, 5:23 a.m.