code: def __init__(
      self,
      get_label_fn,
      encoder_fn,
      logit_fn,
      metric_name="f1",
      loss_fn=sigmoid_loss,
  ):
      self.get_label_fn = get_label_fn
      self.metric_name = metric_name
      self.metric_class = tf_euler.utils.metrics.get(metric_name)
      self.encoder = encoder_fn
      self.logit_fn = logit_fn
      self.loss_fn = loss_fn
  
file_path: euler/tf_euler/python/solution/base_supervise.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tf_euler
  from tf_euler.python.solution.losses import sigmoid_loss
label_desc: Use image node_id 1 to create a new SuperviseSolution object from inherited base classes: object with example: obj = SuperviseSolution(get_label_fn, encoder_fn, logit_fn, metric_name, loss_fn)