docstr: If `losses='auto'` then losses will be picked based on
  `AutoParam()` argument `task`. Otherwise input a list with one or
  more losses will be used.
docstr_tok: ["If","`","losses='auto","'","`","then","losses","will","be","picked","based","on","`","AutoParam","(",")","`","argument","`","task","`",".","Otherwise","input","a","list","with","one","or","more","losses","will","be","used","."]
code: def losses(self, losses="auto"):
      """If `losses='auto'` then losses will be picked based on
      `AutoParam()` argument `task`. Otherwise input a list with one or
      more losses will be used.
      """
  
      if losses == "auto":
          self._append_params("losses", loss[self._task])
      else:
          self._append_params("losses", losses)
  
imports: import numpy
  from tensorflow.keras.optimizers import Adam, Nadam, Adadelta, SGD
label_desc: Use image node_id 9 for calling the AutoParams obj's underlying member method code with example usage: obj.losses(losses) without return types