Helpers
influpaint.utils.helpers
extract(a, t, x_shape)
define an extract function, which will allow us to extract the appropriate (t) index for a batch of indices.