A community-maintained Python framework for creating mathematical animations.
Slight alterations and bug fixes
Grant Sandersonde0e156444f3
diff --git a/nn/part1.py b/nn/part1.pyindex c187115ec..125401281 100644--- a/nn/part1.py+++ b/nn/part1.py@@ -122,7 +122,7 @@ class NetworkMobject(VGroup):"neuron_fill_color" : GREEN,"edge_color" : LIGHT_GREY,"edge_stroke_width" : 2,- "edge_propogation_color" : GREEN,+ "edge_propogation_color" : YELLOW,"edge_propogation_time" : 1,"max_shown_neurons" : 16,"brace_for_large_layers" : True,@@ -214,7 +214,7 @@ class NetworkMobject(VGroup):def get_active_layer(self, layer_index, activation_vector):layer = self.layers[layer_index].deepcopy()- self.activate_layer(layer)+ self.activate_layer(layer, activation_vector)return layerdef activate_layer(self, layer, activation_vector):