Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block scturtle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
scturtle /
Created Apr 12, 2017 — forked from siemanko/
Simple implementation of LSTM in Tensorflow in 50 lines (+ 130 lines of data generation and comments)
from __future__ import print_function
import numpy as np
import tensorflow as tf
import tensorflow.contrib.layers as layers
def as_bytes(num, final_size):
res = []
for _ in range(final_size):
res.append(num % 2)
num //= 2
import os
import sys
import re
import hashlib
import csv
import time
import locale
import getopt
You can’t perform that action at this time.