Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 18, 2016 14:30
Show Gist options
  • Save 3h4/020d80ce5f370fac2da30ad4c85e4fdc to your computer and use it in GitHub Desktop.
Save 3h4/020d80ce5f370fac2da30ad4c85e4fdc to your computer and use it in GitHub Desktop.
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