code: def freeze(self, sample):
      with model_context(sample):
          return MyModelSpace()
  
file_path: nni/test/ut/nas/space/test_executable_space.py
imports: import sys
  import pytest
  import nni
  from nni.mutable import *
  from nni.mutable.mutable import _mutable_equal
  from nni.nas.evaluator import FunctionalEvaluator, FrozenEvaluator
  from nni.nas.space import *
label_desc: Use image node_id 5 for calling the MyModelSpace obj's underlying member method code with example usage: obj.freeze(sample) and returns: MyModelSpace