(float or tensor) the weight for the interpolation formula
lerp(input, end, weight, out=NULL)
Does a linear interpolation of two tensors start (given by input) and end based
on a scalar or tensor weight and returns the resulting out tensor.
$$
\mbox{out}_i = \mbox{start}_i + \mbox{weight}_i \times (\mbox{end}_i - \mbox{start}_i)
$$
The shapes of start and end must be
broadcastable . If weight is a tensor, then
the shapes of weight, start, and end must be broadcastable .