class_docstr: BartConfigTS is a TorchScript-compatible transformers.models.bart.configuration_bart.BartConfig.
  TorchScript only supports sub-classes of torch.nn.Module.
class_docstr_tok: ["BartConfigTS","is","a","TorchScript-compatible","transformers.models.bart.configuration_bart.BartConfig",".","TorchScript","only","supports","sub-classes","of","torch.nn.Module","."]
code: def __init__(self, config):
      BartConfig.__init__(self, config)
      torch.nn.Module.__init__(self)
  
imports: import copy
  import itertools
  from typing import List, Optional, Tuple
  import torch
  import torch.nn.functional
  from transformers import BartConfig
  from transformers.generation_utils import GenerationMixin
label_desc: Use image node_id 1 to create a new BartConfigTS object from inherited base classes: BartConfig, torch.nn with example: obj = BartConfigTS(config)