W3cubDocs

/TensorFlow 1.15

tf.keras.layers.Wrapper

View source on GitHub

Abstract wrapper base class.

Inherits From: Layer

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/r1.15/api_docs/python/tf/keras/layers/Wrapper