code: def DISABLED_test_freeze_all_embedding(self):
      model = create_model(
          DocModel.Config(),
          FeatureConfig(freeze=True),
          metadata=mock_metadata(),
      )
      for param in model.embedding.parameters():
          self.assertFalse(param.requires_grad)
  
file_path: pytext/pytext/models/test/module_test.py
imports: import unittest
  from pytext.config.component import create_model
  from pytext.config.field_config import DictFeatConfig, FeatureConfig, WordFeatConfig
  from pytext.data import CommonMetadata
  from pytext.fields import FieldMeta
  from pytext.models.doc_model import DocModel
label_desc: Use image node_id 2 for calling the ModuleTest obj's underlying member method code with example usage: obj.DISABLED_test_freeze_all_embedding() without return types