docstr: Given the network predictions and targets computed the PIT loss.
docstr_tok: ["Given","the","network","predictions","and","targets","computed","the","PIT","loss","."]
code: def compute_objectives(self, predictions, targets):
      "Given the network predictions and targets computed the PIT loss."
      loss = get_si_snr_with_pitwrapper(targets, predictions)
      return loss
  
file_path: speechbrain/tests/integration/separation/example_conv_tasnet.py
imports: import torch
  import pathlib
  import speechbrain
  import torch.nn.functional
  from hyperpyyaml import load_hyperpyyaml
  from speechbrain.nnet.losses import get_si_snr_with_pitwrapper
label_desc: Use image node_id 2 for calling the SepBrain obj's underlying member method code with example usage: obj.compute_objectives(predictions, targets) and returns: loss