import os import math import random import numpy as np import tensorflow as tf from past.builtins import xrange