This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import torch | |
import torch.nn.functional as F | |
import onnx | |
import onnxruntime as ort | |
from torch.onnx import register_custom_op_symbolic | |
import torch.onnx.symbolic_helper as sym_help |