mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-08-06 00:48:56 +08:00
Added ability to pass layer_args dictionary to each forward pass, which allows
for arguments to be passed through to each neural network layer when running a neural network forward pass.
This commit is contained in:
@ -44,7 +44,7 @@ class FeedForwardLayer(VGroupNeuralNetworkLayer):
|
||||
# Add the objects to the class
|
||||
self.add(self.surrounding_rectangle, self.node_group)
|
||||
|
||||
def make_forward_pass_animation(self, **kwargs):
|
||||
def make_forward_pass_animation(self, layer_args={}, **kwargs):
|
||||
# make highlight animation
|
||||
succession = Succession(
|
||||
ApplyMethod(self.node_group.set_color, self.animation_dot_color, run_time=0.25),
|
||||
|
Reference in New Issue
Block a user