# tf.contrib.seq2seq.AttentionMechanism

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/seq2seq/python/ops/attention_wrapper.py#L66-L74) |

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `alignments_size` | <br /> <br /> |
| `state_size` | <br /> <br /> |

<br />