-
Notifications
You must be signed in to change notification settings - Fork 11
Torch.jit.script #91
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
base: main
Are you sure you want to change the base?
Torch.jit.script #91
Conversation
…into 67-TorchScript
@qiancao @melodiemonod please check the code, I have changed a lot of features to be compatible with |
@qiancao @melodiemonod please let me know if you have any questions |
) | ||
return torch.ones_like(ct, dtype=ct.dtype) | ||
weight = torch.ones(1, dtype=ct.dtype) / ct | ||
weight = 1.0 / ct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are two lines that assign values to weight independently, i think you want to keep the second one?
Hi @tcoroller , |
No description provided.