code: def test_loss_adv_ae():
      loss = loss_adv_ae(x, y, model, w_model=1.0, w_recon=0.0)
      loss_with_recon = loss_adv_ae(
          x, y, model, w_model=1.0, w_recon=1.0
      )
      assert loss > 0.0
      assert loss_with_recon > loss
  
file_path: alibi-detect/alibi_detect/models/tensorflow/tests/test_losses_tf.py
imports: import pytest
  import numpy
  import tensorflow
  from alibi_detect.models.tensorflow.losses import elbo, loss_adv_ae, loss_aegmm, loss_vaegmm, loss_distillation
label_desc: Use image node_id 5 for calling a global function with example usage: test_loss_adv_ae() without return types