code: def forward_expected(self, inputs):
      x1, x2 = inputs
      y_expected = numpy.copy(x1)
      for i, j, k in numpy.ndindex(y_expected.shape):
          y_expected[i, j, k] *= x2[j]
      return (y_expected,)
  
file_path: chainer/tests/chainer_tests/functions_tests/math_tests/test_scale.py
imports: import unittest
  import numpy
  import chainer
  from chainer import functions
  from chainer import testing
label_desc: Use image node_id 3 for calling the TestScale obj's underlying member method code with example usage: obj.forward_expected(inputs) and returns: y_expected