Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torch.tanh can't convert but F.tanh can, why? What should I do to support it. #106

Open
JasonDu1993 opened this issue Jan 14, 2021 · 2 comments

Comments

@JasonDu1993
Copy link

JasonDu1993 commented Jan 14, 2021

pytorch 1.2.0

@HaolyShiit
Copy link

add:
torch.tanh = Rp(torch.tanh,_tanh)

@HaolyShiit
Copy link

在文件 pytorch_to_caffe.py 中,
仿照 :F.tanh = Rp(F.tanh,_tanh)
添加 :torch.tanh = Rp(torch.tanh,_tanh)
试试看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants