class_docstr: Decoder layer implemented by fairseq.
  This version only removes the "args" parameter, no other changes
class_docstr_tok: ["Decoder","layer","implemented","by","fairseq",".","This","version","only","removes","the","``","args","''","parameter",",","no","other","changes"]
code: def prepare_for_onnx_export_(self):
      self.onnx_trace = True
  
imports: import math
  import uuid
  from typing import Dict, Optional, List
  import torch
  from torch import Tensor, nn
  from torch.nn import Parameter, LayerNorm, Dropout
  from lightseq.training.ops.pytorch import util
  from lightseq.training.ops.pytorch.layer_base import TransformerEmbeddingLayerBase, TransformerEncoderLayerBase, TransformerDecoderLayerBase
  from .quantization import QuantLinear, TensorQuantizer, act_quant_config, weight_quant_config, out_quant_config, emb_quant_config
label_desc: Use image node_id 4 for calling the TransformerDecoderLayer obj's underlying member method code with example usage: obj.prepare_for_onnx_export_() without return types