chainer.functions.linear_interpolate¶
-
chainer.functions.
linear_interpolate
(p, x, y)[source]¶ Elementwise linear-interpolation function.
This function is defined as
\[f(p, x, y) = p x + (1 - p) y.\]- Parameters
p (
Variable
or N-dimensional array) – Input variable.x (
Variable
or N-dimensional array) – Input variable.y (
Variable
or N-dimensional array) – Input variable.
- Returns
Output variable.
- Return type