Created
November 18, 2016 14:30
-
-
Save 3h4/020d80ce5f370fac2da30ad4c85e4fdc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from __future__ import print_function, division | |
import numpy as np | |
import tensorflow as tf | |
import matplotlib.pyplot as plt | |
num_epochs = 100 | |
total_series_length = 50000 | |
truncated_backprop_length = 15 | |
state_size = 4 | |
num_classes = 2 | |
echo_step = 3 | |
batch_size = 5 | |
num_batches = total_series_length//batch_size//truncated_backprop_length | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment