code: def test_global_norm():
      data = list()
      for i in range(1, 6):
          data.append(np.ones((i * 10, i * 10)) * i)
      gnorm = np.asscalar(
          np.sqrt(sum([np.sum(np.square(d)) for d in data]))
      )
      assert np.isclose(
          gnorm, global_norm([nd.array(d) for d in data]).asscalar()
      )
  
imports: import pytest
  import mxnet
  from mxnet import nd
  import numpy
  from rl_coach.architectures.mxnet_components.utils import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_global_norm() without return types