# TODO: Implement grid resampling of attention coefficients
# The paper specifies that "Grid resampling of attention coefficients is done using trilinear interpolation."
# But in a UNet, the g and x_L are already at the same resolution, so no need to resample!?
To be evaluated.