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

Use no-input nodes by default in converter #210

Open
bmorcos opened this issue Mar 1, 2021 · 0 comments
Open

Use no-input nodes by default in converter #210

bmorcos opened this issue Mar 1, 2021 · 0 comments

Comments

@bmorcos
Copy link

bmorcos commented Mar 1, 2021

NengoDL expects a Node with no input connection to receive an input during training/inference even if the node is generating an internal constant. There is a workaround using a lambda output function:

nengo.Node(lambda t, x: 1, size_in=1, label="no-input")

@drasmuss thought it might be nice to make this default behaviour inside the converter for automatically generated networks to avoid some confusion.

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

No branches or pull requests

1 participant