code: def __init__(self):
      super().__init__()
      self.conv = LayerChoice(
          [
              Conv2d(1, 10, 3, padding=1, bias=False),
              Conv2d(1, 10, 5, padding=2, bias=False),
              Conv2d(1, 10, 7, padding=3, bias=False),
          ],
          label="conv",
      )
  
file_path: nni/test/algo/nas/oneshot/test_profiler.py
imports: import pytest
  import torch
  from torch.nn import Conv2d
  from nni.nas.nn import ModelSpace, LayerChoice
  from nni.nas.oneshot.pytorch.profiler import RangeProfilerFilter, ExpectationProfilerPenalty, SampleProfilerPenalty
  from nni.nas.profiler.pytorch.flops import FlopsProfiler
label_desc: Use image node_id 1 to create a new Net object from inherited base classes: ModelSpace with example: obj = Net()