Hello I have a few questions regarding the workings of ONNX.


Let’s say I have a DNN that uses an activation function not implemented in PyTorch (a.k.a maxout). If this operation is implemented by using operators that ONNX supports (max, view, etc), will this cause any sort of problem?


Is there a way to implement a function inside the DNN that has an flow-control statement (if, else) and export it to ONNX?


Is JIT connected to ONNX in any way? Adding flow-control statements and custom operators in JIT seems very easy, is there a way to connect the 2 so that I can use operators created in JIT exporting them to ONNX?


Thanks in advance!!