Open githublsk opened 2 years ago
@githublsk hello, bilinear layer can be rewirte as a new class, i have another question, when converting layoutlmv2 RE model to onnx , the input 'entities','relations' are dict type, how to convert to onnx?
@gjj123 Could you help me know how to write bilinear to a new class
Hi developer, When I export layoutxlm RE model to onnx, I find torch.nn.bilinear can not export to onnx, can a function that can be supported by onnx replace torch.nn.bilinear?![image](https://user-images.githubusercontent.com/77612906/176330963-254a5e2e-ed86-4305-9188-56b47a2f34fa.png)