get_output_activations: Get activation functions of output layers

View source: R/create_model_utils.R

get_output_activationsR Documentation

Get activation functions of output layers

Description

Get activation functions of output layers.

Usage

get_output_activations(model)

Arguments

model

A keras model.

Value

Character vector with names of activation functions of model outputs.

Examples


model <-  create_model_lstm_cnn(
  maxlen = 50,
  layer_lstm = 8,
  layer_dense = c(64, 2),
  verbose = FALSE)
get_output_activations(model)


GenomeNet/deepG documentation built on Dec. 24, 2024, 12:11 p.m.