PT21-22-Reseau-Neurones/test.py

14 lines
270 B
Python
Raw Normal View History

2021-12-03 15:10:27 +01:00
import numpy as np
from sobek.network import network
test = network(16, 16, 8, 4)
"""
for y in test.weights:
print(y, end="\n\n")
for y in test.biases:
print(y, end="\n\n")"""
print(network.reLu(8))
print(test.process(np.random.default_rng(42).random((16))))