code: def test_nasbench101_with_evo():
      pytorch_space = NasBench101()
      benchmark = NasBench101Benchmark()
      exec_space = BenchmarkModelSpace.from_model(
          pytorch_space, benchmark
      )
  
      engine = SequentialExecutionEngine(max_model_count=200)
      strategy = RegularizedEvolution(
          population_size=50, sample_size=25
      )
      strategy(exec_space, engine)
      assert (
          list(strategy.list_models(sort=True, limit=1))[0].metric
          > 0.945
      )
  
file_path: nni/test/algo/nas/benchmark/test_algo.py
imports: import pytest
  from nni.nas.benchmark import *
  from nni.nas.execution import SequentialExecutionEngine
  from nni.nas.strategy import *
  from nni.nas.hub.pytorch import NasBench101, NasBench201
  from .prepare import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_nasbench101_with_evo() without return types