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

Nested Neural Networks #20

Open
helblazer811 opened this issue Jan 15, 2023 · 1 comment
Open

Nested Neural Networks #20

helblazer811 opened this issue Jan 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@helblazer811
Copy link
Owner

helblazer811 commented Jan 15, 2023

It would be nice to allow a user to pass a neural network into another neural network and have it be treated as a layer when constructing animations or renderings. It could look something like:

nested_network = NeuralNetwork([
     ImageLayer(),
     NeuralNetwork([
           Convolutional3DLayer(),
           Convolutional3DLayer(),
     ])
     FeedForwardLayer()
])
@helblazer811
Copy link
Owner Author

I think this would be a great way to implement certain custom layers like Transformer Self-Attention (#11) under the hood.

@helblazer811 helblazer811 added the enhancement New feature or request label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant