code: def test_fp16_model(self):
      model, _ = init_model_and_optimizer()
      with self.assertWarns(apex.DeprecatedFeatureWarning):
          _ = apex.fp16_utils.FP16Model(model)
  
file_path: apex/tests/L0/run_deprecated/test_deprecated_warning.py
imports: import unittest
  import torch
  import apex
  from apex.transformer.testing.distributed_test_base import NcclDistributedTestBase
label_desc: Use image node_id 2 for calling the TestDeprecatedWarning obj's underlying member method code with example usage: obj.test_fp16_model() without return types