Open helblazer811 opened 1 year ago
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() ])
I think this would be a great way to implement certain custom layers like Transformer Self-Attention (#11) under the hood.
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: