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

add node cause result wrong! #286

Open
NotOnlyAI opened this issue Sep 27, 2024 · 1 comment
Open

add node cause result wrong! #286

NotOnlyAI opened this issue Sep 27, 2024 · 1 comment

Comments

@NotOnlyAI
Copy link

    identity = x.features

    out = self.conv1(x)
    out = out.replace_feature(self.relu1(out.features))

    out = self.conv2(out)
    out = out.replace_feature(out.features+identity)
    out = out.replace_feature(self.relu2(out.features))

if without "out = out.replace_feature(out.features+identity) " ,the c++ and pytroch result is same .
if has out = out.replace_feature(out.features+identity) result is not same ?
why?

@hopef
Copy link
Collaborator

hopef commented Sep 29, 2024

Could you provide me with a minimal reproduction code?

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