code: def forward_gpu(self, inputs):
      self.retain_inputs((0, 1, 2))
      p, x, y = inputs
      return (
          cuda.elementwise(
              "T p, T x, T y",
              "T z",
              "z = p * x + (1 - p) * y",
              "linear_interpolate_fwd",
          )(p, x, y),
      )
  
file_path: chainer/chainer/functions/math/linear_interpolate.py
imports: from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the LinearInterpolate obj's underlying member method code with example usage: obj.forward_gpu(inputs) and returns: cuda