code: def test_samples_large_batch(
      fmodel_and_data: ModelAndData, batchsize: int, dataset: str
  ) -> None:
      fmodel, _, _ = fmodel_and_data
      data_format = getattr(fmodel, "data_format", "channels_first")
      with pytest.warns(UserWarning, match="only 20 samples"):
          x, y = fbn.samples(
              fmodel,
              dataset=dataset,
              batchsize=batchsize,
              data_format=data_format,
          )
      assert len(x) == len(y) == batchsize
      assert not ep.istensor(x)
      assert not ep.istensor(y)
  
imports: from typing import Tuple
  import foolbox
  import eagerpy
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_samples_large_batch(fmodel_and_data, batchsize, dataset) without return types