Skip to content

Instantly share code, notes, and snippets.

View ashwin4ever's full-sized avatar

Ashwin Viswanathan Kannan ashwin4ever

  • Stillwater , Oklahoma
View GitHub Profile
@ashwin4ever
ashwin4ever / lstm_text_generator.py
Created January 3, 2019 06:59 — forked from mikalv/lstm_text_generator.py
Simple Tensorflow RNN LSTM text generator
import tensorflow as tf
import numpy as np
#set hyperparameters
max_len = 40
step = 2
num_units = 128
learning_rate = 0.001
batch_size = 200
epoch = 60
@ashwin4ever
ashwin4ever / Understanding TF RNNs.ipynb
Created December 20, 2018 08:12 — forked from damienpontifex/Understanding TF RNNs.ipynb
Getting my head around TensorFlow RNN inputs, outputs and the appropriate shapes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.