code: def test_optimized_quantized_model(self):
      qmodel = self.get_quant_model()
      smodel = torch.jit.trace(qmodel, torch.zeros(2, 16))
      omodel = torch.utils.mobile_optimizer.optimize_for_mobile(smodel)
      self.do_dump_model(omodel)
  
imports: import os
  import io
  import functools
  import tempfile
  import urllib
  import unittest
  import torch
  import torch.backends.xnnpack
  import torch.utils.model_dump
  import torch.utils.mobile_optimizer
  from torch.testing._internal.common_utils import TestCase, run_tests, IS_WINDOWS, skipIfNoXNNPACK
  from torch.testing._internal.common_quantized import supported_qengines
label_desc: Use image node_id 11 for calling the TestModelDump obj's underlying member method code with example usage: obj.test_optimized_quantized_model() without return types