src/transformers/models/prophetnet/modeling_prophetnet.py/ProphetNetNgramSelfAttention/prepare_for_onnx_export_
class ProphetNetNgramSelfAttention:    def prepare_for_onnx_export_(self):
        self.onnx_trace = True