Skip to content

Instantly share code, notes, and snippets.

from __future__ import print_function
from itertools import starmap
import tensorflow as tf
import random
from tensorflow.python.ops import rnn
import math
flags = tf.flags