code: def test_squared_error_forward_backward(seed, ctx, func_name):
      from nbla_test_utils import function_tester
  
      rng = np.random.RandomState(seed)
      inputs = [
          rng.randn(2, 3, 4).astype(np.float32) * 2 for _ in range(2)
      ]
      function_tester(
          rng,
          F.squared_error,
          lambda x, y: (x - y) ** 2,
          inputs,
          atol_b=2e-2,
          ctx=ctx,
          func_name=func_name,
      )
  
imports: import pytest
  import numpy
  import nnabla.functions
  from nbla_test_utils import list_context
label_desc: Use image node_id 1 for calling a global function with example usage: test_squared_error_forward_backward(seed, ctx, func_name) without return types