code: def make_callable_loss_func(self, type_str):
      self._data_loss_func = LossClassificationFactory.create(type_str)
  
file_path: NiftyNet/niftynet/layer/loss_classification.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import tensorflow
  from niftynet.engine.application_factory import LossClassificationFactory
  from niftynet.layer.base_layer import Layer
label_desc: Use image node_id 2 for calling the LossFunction obj's underlying member method code with example usage: obj.make_callable_loss_func(type_str) without return types