code: def forward_expected(self, inputs):
      x1, x2 = inputs
      expected = (x1 - x2) ** 2
      expected = numpy.asarray(expected)
      return (expected.astype(self.dtype),)
  
file_path: chainer/tests/chainer_tests/functions_tests/loss_tests/test_squared_error.py
imports: import numpy
  from chainer import functions
  from chainer import testing
label_desc: Use image node_id 4 for calling the TestSquaredError obj's underlying member method code with example usage: obj.forward_expected(inputs) and returns: expected