Aggregate output of time distribution representations using sum, max and/or mean function.
Usage
layer_aggregate_time_dist_wrapper(
load_r6 = FALSE,
method = "sum",
multi_in = FALSE
)
Arguments
- load_r6
Whether to load the R6 layer class.
- method
At least one of the options, "sum", "max"
or "mean"
.
- multi_in
Whether to aggregate for a model with multiple inputs (and shared weights).
Value
A keras layer applying pooling operation(s).
Examples
if (FALSE) { # reticulate::py_module_available("tensorflow")
l <- layer_aggregate_time_dist_wrapper()
}