code: def test_compile_multimodal(multimodal_model):
      """Test compile function when multiple loss functions are passed."""
      assert isinstance(multimodal_model.loss, list)
      assert all(
          [isinstance(x, LossContainer) for x in multimodal_model.loss]
      )
  
imports: from typing import List
  import numpy
  import pytest
  import torch
  import torch.nn
  import torch.optim
  from torch.utils.data import DataLoader, TensorDataset
  from alibi.models.pytorch.metrics import AccuracyMetric, LossContainer
  from alibi.models.pytorch.model import Model
label_desc: Use image node_id 5 for calling a global function with example usage: test_compile_multimodal(multimodal_model) without return types