simple_neural_network.py: Fewer forward propogations to speed tests

Closes #9718
This commit is contained in:
Christian Clauss 2023-10-27 00:02:24 +02:00 committed by GitHub
parent fe4aad0ec9
commit 1b31c25fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ INITIAL_VALUE = 0.02
def forward_propagation(expected: int, number_propagations: int) -> float: def forward_propagation(expected: int, number_propagations: int) -> float:
"""Return the value found after the forward propagation training. """Return the value found after the forward propagation training.
>>> res = forward_propagation(32, 10000000) >>> res = forward_propagation(32, 100_000) # Was 10_000_000
>>> res > 31 and res < 33 >>> res > 31 and res < 33
True True