How to resize (interpolate) a tensor in Keras?
I would use Repeat to add one element and implement the interpolation as a new lambda layer. I don't think there's an existing layer for this in keras.
I want to resize a tensor (between layers) of size say (None, 2, 7, 512) to (None, 2, 8, 512), by interpolating it (say using nearest neighbor), similar to this function tf.image.resize_nearest_neighbor available in Tensorflow. 
Is there any way to do that? 
I tried directly using the Tensorflow function tf.image.resize_nearest_neighbor and the pass the tensors to the next Keras layer, but with the next layer this error was thrown:

AttributeError: 'Tensor' object has no attribute '_keras_history' 

I believe this is due to some attributes that are missing in Tensorflow tensors, which makes sense as the layer expects Keras tensors to be passed.