mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Slight alterations and bug fixes
This commit is contained in:
parent
0ba007bf21
commit
de0e156444
1 changed files with 2 additions and 2 deletions
|
@ -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 layer
|
||||
|
||||
def activate_layer(self, layer, activation_vector):
|
||||
|
|
Loading…
Add table
Reference in a new issue