W3cubDocs

/TensorFlow Python

tf.contrib.rnn.LSTMBlockWrapper

class tf.contrib.rnn.LSTMBlockWrapper

See the guide: RNN and Cells (contrib) > Core RNN Cell wrappers (RNNCells that wrap other RNNCells)

This is a helper class that provides housekeeping for LSTM cells.

This may be useful for alternative LSTM and similar type of cells. The subclasses must implement _call_cell method and num_units property.

Properties

num_units

Number of units in this cell (output dimension).

Class Members

__init__

Defined in tensorflow/contrib/rnn/python/ops/lstm_ops.py.

© 2017 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/api_docs/python/tf/contrib/rnn/LSTMBlockWrapper