Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[Bug] Compute a node many times #53

Closed
NTT123 opened this issue Dec 25, 2018 · 1 comment
Closed

[Bug] Compute a node many times #53

NTT123 opened this issue Dec 25, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@NTT123
Copy link
Contributor

NTT123 commented Dec 25, 2018

https://github.com/Microsoft/onnxjs/blob/c2f3de6d934e807ec7880ea3e9438ce519d1b8f6/lib/execution-plan.ts#L136

When a node has two identical inputs, e.g. y = concat(x, x, dim=0), the above line will add y twice to the list sequence. This causes an exception at https://github.com/Microsoft/onnxjs/blob/c2f3de6d934e807ec7880ea3e9438ce519d1b8f6/lib/execution-plan.ts#L118 when y is computed the second time.

@fs-eire fs-eire added the bug Something isn't working label Jan 8, 2019
@hariharans29
Copy link
Member

Fixed by #88

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants