added third experiment

This commit is contained in:
Thomas Gabor
2019-03-10 20:20:03 +01:00
parent b8c27e318c
commit 88e8b61d36
4 changed files with 60 additions and 10 deletions

View File

@ -9,13 +9,6 @@ from soup import prng
from statistics import mean
avg = mean
def generate(e=0.0, f=0.0):
return [
np.array([[1.0+e, 0.0+f], [0.0+f, 0.0+f], [0.0+f, 0.0+f], [0.0+f, 0.0+f]], dtype=np.float32),
np.array([[1.0+e, 0.0+f], [0.0+f, 0.0+f]], dtype=np.float32),
np.array([[1.0+e], [0.0+f]], dtype=np.float32)
]
def generate_fixpoint_weights():
return [