code: def _create_mesh(self, topology, device):
      device_ids = test_util.create_device_ids_array(topology)
      return Mesh(
          _MESH_DIMS,
          device_ids,
          np.ravel(device_ids).tolist(),
          test_util.create_device_list(topology, device),
      )
  
file_path: tensorflow-upstream/tensorflow/dtensor/python/tests/numerics_test.py
imports: import os
  from absl.testing import parameterized
  import numpy
  from tensorflow.dtensor.python import accelerator_util
  from tensorflow.dtensor.python import layout
  from tensorflow.dtensor.python import numpy_util
  from tensorflow.dtensor.python.tests import test_util
  from tensorflow.python.eager.polymorphic_function import polymorphic_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import stateless_random_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the NumericTest obj's underlying member method code with example usage: obj._create_mesh(topology, device) and returns: Mesh