code: def gen_locs(self, y_loc, num_preds_per_class):
      # y_loc should be (batch_size, num_preds_per_class, 4)
      assert (
          self.share_location
      ), "non share location is not supported yet"
      assert y_loc.shape[1] == num_preds_per_class
      bboxes = {}
      for batch in range(self.be.bsz):
          bboxes[batch] = y_loc[batch, :, :].copy()
      return bboxes
  
imports: from neon import NervanaObject
  import numpy
  from util import util
  from neon.transforms import Softmax
label_desc: Use image node_id 15 for calling the MBoxLoss obj's underlying member method code with example usage: obj.gen_locs(y_loc, num_preds_per_class) and returns: bboxes