code: def test_forward_wrapped(fmodel_and_data: ModelAndData) -> None:
      fmodel, x, y = fmodel_and_data
      assert ep.istensor(x)
      logits = fmodel(x)
      assert ep.istensor(logits)
      assert logits.ndim == 2
      assert len(logits) == len(x) == len(y)
      _, num_classes = logits.shape
      assert (y >= 0).all()
      assert (y < num_classes).all()
      if hasattr(logits.raw, "requires_grad"):
          assert not logits.raw.requires_grad
  
file_path: foolbox/tests/test_models.py
imports: from typing import Tuple, Any
  import pytest
  import eagerpy
  import numpy
  import copy
  import foolbox
label_desc: Use image node_id 3 for calling a global function with example usage: test_forward_wrapped(fmodel_and_data) without return types