code: def test_normalized_l1(self, pred_displacements, expected):
      pred_displacements = np.array(
          pred_displacements, dtype=np.float32
      )
      gt_displacements = np.array([[0.5, 0.5]], dtype=np.float32)
      actual = metrics.normalized_l1(
          pred_displacements, gt_displacements
      )
      self.assertAllClose(actual, expected)
  
file_path: scenic/scenic/projects/unloc/metrics_test.py
imports: from absl.testing import parameterized
  import numpy
  from scenic.projects.unloc import metrics
  import tensorflow
label_desc: Use image node_id 6 for calling the MetricsTest obj's underlying member method code with example usage: obj.test_normalized_l1(pred_displacements, expected) without return types