time_distributed()
is an alias for layer_time_distributed()
.
See ?
layer_time_distributed()
for the full documentation.
Arguments
- object
Object to compose the layer with. A tensor, array, or sequential model.
- layer
A
Layer
instance.- ...
For forward/backward compatability.
Value
The return value depends on the value provided for the first argument.
If object
is:
a
keras_model_sequential()
, then the layer is added to the sequential model (which is modified in place). To enable piping, the sequential model is also returned, invisibly.a
keras_input()
, then the output tensor from callinglayer(input)
is returned.NULL
or missing, then aLayer
instance is returned.