code: def _check_encode(self, bbox, label):
      xp = self.coder.xp
  
      mb_loc, mb_label = self.coder.encode(bbox, label)
  
      self.assertIsInstance(mb_loc, xp.ndarray)
      self.assertEqual(mb_loc.shape, (self.n_bbox, 4))
  
      self.assertIsInstance(mb_label, xp.ndarray)
      self.assertEqual(mb_label.shape, (self.n_bbox,))
  
file_path: chainercv/tests/links_tests/model_tests/ssd_tests/test_multibox_coder.py
imports: import numpy
  import unittest
  from chainer.backends import cuda
  from chainer import testing
  from chainer.testing import attr
  from chainercv.links.model.ssd import MultiboxCoder
label_desc: Use image node_id 5 for calling the TestMultiboxCoder obj's underlying member method code with example usage: obj._check_encode(bbox, label) without return types