mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
pyupgrade --py37-plus **/*.py (#1654)
* pyupgrade --py37-plus **/*.py * fixup! Format Python code with psf/black push
This commit is contained in:

committed by
John Law

parent
34c808b375
commit
28419cf839
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
# encoding=utf8
|
||||
|
||||
"""
|
||||
|
||||
@ -31,6 +30,7 @@ class DenseLayer:
|
||||
"""
|
||||
Layers of BP neural network
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self, units, activation=None, learning_rate=None, is_input_layer=False
|
||||
):
|
||||
@ -99,6 +99,7 @@ class BPNN:
|
||||
"""
|
||||
Back Propagation Neural Network model
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.layers = []
|
||||
self.train_mse = []
|
||||
|
Reference in New Issue
Block a user