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