code: def test_dot():
      nrepeat = 10
      maxdim = 4
      for _ in range(nrepeat):
          s = tuple(np.random.randint(1, 200, size=3))
          check_bind_with_uniform(
              lambda x, y: np.dot(x, y),
              lambda g, x, y: (np.dot(g, y.T), np.dot(x.T, g)),
              2,
              lshape=(s[0], s[1]),
              rshape=(s[1], s[2]),
              sf=mx.symbol.dot,
          )
      for _ in range(nrepeat):
          s = tuple(np.random.randint(1, 200, size=1))
          check_bind_with_uniform(
              lambda x, y: np.dot(x, y),
              lambda g, x, y: (g * y, g * x),
              2,
              lshape=(s[0],),
              rshape=(s[0],),
              sf=mx.symbol.dot,
          )
  
file_path: mxnet/tests/python/unittest/test_executor.py
imports: import numpy
  import mxnet
  from mxnet.test_utils import assert_almost_equal, environment
label_desc: Use image node_id 3 for calling a global function with example usage: test_dot() without return types