src/transformers/models/xlm_prophetnet/modeling_xlm_prophetnet.py/XLMProphetNetNgramSelfAttention/prepare_for_onnx_export_
class XLMProphetNetNgramSelfAttention:    def prepare_for_onnx_export_(self):
        self.onnx_trace = True