code: def _round_even(self, dev=gpu_dev):
      q = np.array(
          [
              0.1,
              0.5,
              0.9,
              1.2,
              1.5,
              1.8,
              2.3,
              2.5,
              2.7,
              -1.1,
              -1.5,
              -1.9,
              -2.2,
              -2.5,
              -2.8,
          ]
      ).astype(np.float32)
      ans = np.array(
          [
              0.0,
              0.0,
              1.0,
              1.0,
              2.0,
              2.0,
              2.0,
              2.0,
              3.0,
              -1.0,
              -2.0,
              -2.0,
              -2.0,
              -2.0,
              -3.0,
          ]
      ).astype(np.float32)
  
      x = tensor.Tensor(shape=q.shape, device=dev)
      x.copy_from_numpy(q)
      y = tensor._call_singa_func(singa_api.RoundE, x.data)
      np.testing.assert_array_almost_equal(ans, tensor.to_numpy(y))
  
imports: from __future__ import division
  import unittest
  import math
  import numpy
  from singa import singa_wrap
  from singa import tensor
  from cuda_helper import gpu_dev, cpu_dev
label_desc: Use image node_id 46 for calling the TestAPI obj's underlying member method code with example usage: obj._round_even(dev) without return types