code: def prepare_for_onnx_export_(self, **kwargs):
      self.src_length_masking = False
  
file_path: translate/pytorch_translate/attention/dot_attention.py
imports: import numpy
  import torch
  import torch.nn.functional
  from pytorch_translate.attention import attention_utils, BaseAttention, register_attention
  from pytorch_translate.common_layers import Linear
label_desc: Use image node_id 2 for calling the DotAttention obj's underlying member method code with example usage: obj.prepare_for_onnx_export_() without return types