1. import tensorflow as tf
    2. import numpy as np
    3. x,y=np.mgrid((1,3,1),(2,4,0.5))
    4. np.ravel(x,0)