get_n_neurons_in_latent_layer: Get the number of neurons in the layent layer

View source: R/get_n_neurons_in_latent_layer.R

get_n_neurons_in_latent_layerR Documentation

Get the number of neurons in the layent layer

Description

Get the number of neurons in the layent layer

Usage

get_n_neurons_in_latent_layer(x)

Arguments

x

an input of type model or gcae_experiment_params

Value

the number of neurons in the latent layer

Author(s)

Richèl J.C. Bilderbeek

Examples


# A model
if (is_gcae_repo_cloned()) {
  # A real GCAE file
  model_filename <- get_gcae_model_filename("M1")
} else {
  # An example file
  model_filename <- get_gcaer_filename("M0.json")
}
model <- read_model_file(model_filename)
get_n_neurons_in_latent_layer(model)

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.