code: def test_nasnet():
      _test_searchspace_on_dataset(searchspace.NASNet())
      _test_searchspace_on_dataset(searchspace.ENAS())
      _test_searchspace_on_dataset(searchspace.AmoebaNet())
      _test_searchspace_on_dataset(searchspace.PNAS())
      _test_searchspace_on_dataset(searchspace.DARTS())
  
file_path: nni/test/algo/nas/hub/test_sanity.py
imports: from torchvision import transforms
  from torchvision.datasets import FakeData
  import pytest
  import pytorch_lightning
  import nni
  import nni.nas.evaluator.pytorch.lightning
  import nni.nas.hub.pytorch
  from nni.mutable import ConstraintViolation
  from nni.nas.nn.pytorch import ModelSpace
label_desc: Use image node_id 4 for calling a global function with example usage: test_nasnet() without return types