code: def _all_same(arrays1, arrays2, message=""):
      same = all(
          np.array_equal(a1, a2) for a1, a2 in zip(arrays1, arrays2)
      )
      if not same:
          raise AssertionError(
              "Arrays not equal ({}):\n{}\n\n{}".format(
                  message, arrays1, arrays2
              )
          )
  
imports: import functools
  import operator
  import numpy
  import mxnet
  import mxnet._deferred_compute
  from mxnet.base import MXNetError
  from mxnet.util import TemporaryDirectory
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: _all_same(arrays1, arrays2, message) without return types