This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# standard_lstm.py | |
import tensorflow as tf | |
from tensorflow.contrib import rnn | |
from tensorflow.contrib import legacy_seq2seq | |
from tensorflow.python.framework import ops | |
from tensorflow.python.ops import math_ops | |
from tensorflow.python.ops.math_ops import sigmoid | |
from tensorflow.python.ops.math_ops import tanh |