class_docstr: Multitask training based on underlying subtasks. To share parameters between modules
  from different tasks, specify the same shared_module_key. Only the first instance of
  each shared module should be configured in tasks list. Only the multitask trainer
  (not the per-task trainers) is used.
class_docstr_tok: ["Multitask","training","based","on","underlying","subtasks",".","To","share","parameters","between","modules","from","different","tasks",",","specify","the","same","shared_module_key",".","Only","the","first","instance","of","each","shared","module","should","be","configured","in","tasks","list",".","Only","the","multitask","trainer","(","not","the","per-task","trainers",")","is","used","."]
code: def export(
      self,
      model,
      export_path,
      metric_channels=None,
      export_onnx_path=None,
  ):
      pass
  
imports: from collections import OrderedDict
  from pprint import pprint
  from typing import Dict, Optional
  from pytext.config import config_to_json
  from pytext.config.component import ComponentType, create_component, create_data_handler, create_exporter, create_featurizer, create_metric_reporter, create_model, create_optimizer, create_trainer
  from pytext.data import DisjointMultitaskData, DisjointMultitaskDataHandler
  from pytext.metric_reporters.disjoint_multitask_metric_reporter import DisjointMultitaskMetricReporter
  from pytext.models.disjoint_multitask_model import DisjointMultitaskModel, NewDisjointMultitaskModel
  from pytext.optimizer.scheduler import Scheduler
  from pytext.utils import cuda
  from pytext.utils.usage import log_class_usage
  from .None import _NewTask, NewTask, Task_Deprecated, TaskBase
label_desc: Use image node_id 2 for calling the NewDisjointMultitask obj's underlying member method code with example usage: obj.export(model, export_path, metric_channels, export_onnx_path) without return types