[1c0e03]: / man / get_output_activations.Rd

Download this file

28 lines (27 with data), 747 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_model_utils.R
\name{get_output_activations}
\alias{get_output_activations}
\title{Get activation functions of output layers}
\usage{
get_output_activations(model)
}
\arguments{
\item{model}{A keras model.}
}
\value{
Character vector with names of activation functions of model outputs.
}
\description{
Get activation functions of output layers.
}
\examples{
\dontshow{if (reticulate::py_module_available("tensorflow")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
model <- create_model_lstm_cnn(
maxlen = 50,
layer_lstm = 8,
layer_dense = c(64, 2),
verbose = FALSE)
get_output_activations(model)
\dontshow{\}) # examplesIf}
}