code: def test_compute_loss(art_warning, get_pytorch_faster_rcnn):
      try:
          object_detector, x_test, y_test = get_pytorch_faster_rcnn
  
          # Compute loss
          loss = object_detector.compute_loss(x=x_test, y=y_test)
  
          assert pytest.approx(0.84883332, abs=0.01) == float(loss)
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/estimators/object_detection/test_pytorch_faster_rcnn.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from tests.utils import ARTTestException
label_desc: Use image node_id 7 for calling a global function with example usage: test_compute_loss(art_warning, get_pytorch_faster_rcnn) without return types