code: def smoothL1loss(self, x):
      loc_loss_vec = np.abs(x)
      self.inds_less = np.where(loc_loss_vec < 1.0)
      self.inds_more = np.where(loc_loss_vec >= 1.0)
      loc_loss_vec[self.inds_less] = (
          0.5 * loc_loss_vec[self.inds_less] ** 2
      )
      loc_loss_vec[self.inds_more] -= 0.5
  
      return loc_loss_vec
  
imports: from neon import NervanaObject
  import numpy
  from util import util
  from neon.transforms import Softmax
label_desc: Use image node_id 12 for calling the MBoxLoss obj's underlying member method code with example usage: obj.smoothL1loss(x) and returns: loc_loss_vec