code: def test_contrib_intgemm_maxabsolute(shape):
      if "intgemm_maxabsolute" not in dir(mx.nd.contrib):
          return
      # mx.nd API
      m = mx.nd.random_uniform(low=-100.0, high=100.0, shape=shape)
      fast = mx.nd.contrib.intgemm_maxabsolute(m)
      slow = mx.nd.max(mx.nd.abs(m))
      assert same(fast, slow)
      # np API
      m = np.random.uniform(low=-100.0, high=100.0, size=shape)
      fast = npx.intgemm_maxabsolute(m).reshape(())
      slow = np.max(np.abs(m))
      assert same(fast, slow)
  
file_path: mxnet/tests/python/unittest/test_contrib_intgemm.py
imports: import mxnet
  from mxnet import np, npx
  from mxnet.test_utils import same, use_np, assert_almost_equal
  import random
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_contrib_intgemm_maxabsolute(shape) without return types