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")"""
|
|
|
|
|
2021-12-09 18:50:57 +01:00
|
|
|
#print(network.__reLu(8))
|
2021-12-03 15:10:27 +01:00
|
|
|
|
|
|
|
print(test.process(np.random.default_rng(42).random((16))))
|