soodoshll opened a new pull request #9204: URL: https://github.com/apache/tvm/pull/9204
Greetings. I encountered a problem when trying translating Pytorch models into relay. `relay.nn.bias_add` has a default `axis=1`, which is inconsistent with [linear](https://pytorch.org/docs/stable/generated/torch.nn.functional.linear.html#torch.nn.functional.linear) in PyTorch, which always adds bias to the last dimension. So it is necessary to explicitly assign `axis=-1` here. Thanks @spectrometerHBH for helping debug. cc @junrushao1994 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
