View source on GitHub |
Abstract wrapper base class.
Inherits From: Layer
tf.keras.layers.Wrapper( layer, **kwargs )
Wrappers take another layer and augment it in various ways. Do not use this class as a layer, it is only an abstract base class. Two usable wrappers are the TimeDistributed
and Bidirectional
wrappers.
Arguments | |
---|---|
layer | The layer to be wrapped. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/keras/layers/Wrapper