Fix Keras documentation
This commit is contained in:
parent
d5435d42c5
commit
eaf10e9a27
@ -825,10 +825,14 @@ class Lambda(Layer):
|
||||
returned as output mask regardless of what the input is.
|
||||
arguments: Optional dictionary of keyword arguments to be passed to the
|
||||
function.
|
||||
Input shape: Arbitrary. Use the keyword argument input_shape (tuple of
|
||||
|
||||
Input shape:
|
||||
Arbitrary. Use the keyword argument input_shape (tuple of
|
||||
integers, does not include the samples axis) when using this layer as the
|
||||
first layer in a model.
|
||||
Output shape: Specified by `output_shape` argument
|
||||
|
||||
Output shape:
|
||||
Specified by `output_shape` argument
|
||||
"""
|
||||
|
||||
@trackable.no_automatic_dependency_tracking
|
||||
|
@ -341,10 +341,11 @@ class Bidirectional(Wrapper):
|
||||
combined. One of {'sum', 'mul', 'concat', 'ave', None}. If None, the
|
||||
outputs will not be combined, they will be returned as a list. Default
|
||||
value is 'concat'.
|
||||
backward_layer: Optional `keras.layers.RNN`, or keras.layers.Layer` instance
|
||||
to be used to handle backwards input processing. If `backward_layer` is
|
||||
not provided, the layer instance passed as the `layer` argument will be
|
||||
used to generate the backward layer automatically.
|
||||
backward_layer: Optional `keras.layers.RNN`, or `keras.layers.Layer`
|
||||
instance to be used to handle backwards input processing.
|
||||
If `backward_layer` is not provided, the layer instance passed as the
|
||||
`layer` argument will be used to generate the backward layer
|
||||
automatically.
|
||||
Note that the provided `backward_layer` layer should have properties
|
||||
matching those of the `layer` argument, in particular it should have the
|
||||
same values for `stateful`, `return_states`, `return_sequence`, etc.
|
||||
|
Loading…
Reference in New Issue
Block a user