code: def _allclose(a: nd.NDArray, b: nd.NDArray):
      return np.allclose(a.asnumpy(), b.asnumpy(), atol=1e-6)
  
file_path: gluonts/test/mx/model/tpp/test_deeptpp.py
imports: import mxnet
  import numpy
  import pytest
  from mxnet import nd
  from gluonts.mx.model.tpp.deeptpp._network import DeepTPPPredictionNetwork, DeepTPPTrainingNetwork
  from gluonts.mx.model.tpp.distribution import WeibullOutput
label_desc: Use image node_id 1 for calling a global function with example usage: _allclose(a, b) and returns: np