mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
dbea59dfbc
commit
6e3f28d9d9
@ -33,5 +33,5 @@ def tanh_func(vector):
|
||||
return (2 / (1 + exp_vector)) - 1
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
print(tanh_func(np.array([0.23])))
|
||||
|
Loading…
x
Reference in New Issue
Block a user