class_docstr: Benchmark evaluator for NAS-Bench-201.
  
  Parameters
  ----------
  num_epochs
      Queried ``num_epochs``.
  dataset
      Queried ``dataset``.
  metric
      Queried metric.
  include_intermediates
      Whether to report intermediate results.
  
  See Also
  --------
  nni.nas.benchmark.nasbench201.query_nb201_trial_stats
  nni.nas.benchmark.nasbench201.Nb201TrialConfig
code: def evaluate(self, sample: Sample) -> Any:
      sample = _sorted_dict(_strip_common_label_scope(sample))
      _logger.debug("NasBench201 sample submitted to query: %s", sample)
  
      from nni.nas.benchmark.nasbench201 import query_nb201_trial_stats
  
      query = query_nb201_trial_stats(
          sample,
          self.num_epochs,
          self.dataset,
          include_intermediates=self.include_intermediates,
      )
      return _report_intermediates_and_final(
          list(query), self.metric, str(sample), 0.01
      )
  
imports: from __future__ import annotations
  import itertools
  import logging
  import random
  import warnings
  from typing import Any, cast
  import nni
  from nni.mutable import Sample, Mutable, LabeledMutable, Categorical, CategoricalMultiple, label_scope
  from nni.nas.evaluator import Evaluator
  from nni.nas.space import ExecutableModelSpace
  from .space import SlimBenchmarkSpace
label_desc: Use image node_id 3 for calling the NasBench201Benchmark obj's underlying member method code with example usage: obj.evaluate(sample) and returns: _report_intermediates_and_final