Skip to content

Commit

Permalink
test update animation again
Browse files Browse the repository at this point in the history
  • Loading branch information
kmantel committed Aug 13, 2021
1 parent c373277 commit c604f24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/generator_scripts/generate_animations.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

# Based on tests/composition/test_learning.py::TestLearningPathwayMethods::test_run_no_targets
def composition_xor_animation():
in_to_hidden_matrix = np.random.rand(2, 20)
hidden_to_out_matrix = np.random.rand(10, 1)
in_to_hidden_matrix = np.random.rand(2, 30)
hidden_to_out_matrix = np.random.rand(30, 1)

inp = pnl.TransferMechanism(name="NEW NAME", default_variable=np.zeros(2))
inp = pnl.TransferMechanism(name="SECOND NEW NAME", default_variable=np.zeros(2))

hidden = pnl.TransferMechanism(
name="Hidden", default_variable=np.zeros(10), function=pnl.Logistic()
name="Hidden", default_variable=np.zeros(30), function=pnl.Logistic()
)

output = pnl.TransferMechanism(
Expand Down

0 comments on commit c604f24

Please sign in to comment.