Skip to content

Instantly share code, notes, and snippets.

@greninja
greninja / template.py
Last active April 2, 2017 23:21
Feedforward neural network template
import tensorflow as tf
import numpy as np
def get_batch(X, size):
# will return batches ( of size approx 10 ) of tuples ( or list ) of input features
# ( i.e. our data collected from the portals ) and corresponding output labels
def getdata(self):