I do not know how to warp image using optical flow in Tensorflow.
In MXnet we can use mx.sym.GridGenerator and mx.sym.BilinearSampler to implement it. But there are these APIs in tensorflow.
And I wonder why tensorflow has most users but no these API in it. Instead MXnet has these API.