-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
1 run guide error
Make sure MATSIZE is set to 16 in config.py, then
python3 assembler.py boston.a
python3 runtpu.py boston.out boston_inputs.npy boston_weights.npy
python3 sim.py boston.out boston_inputs.npy boston_weights.npy
source filename boston_inputs.npy --> boston_input.npy
2 code error
matrix.py line 62
globali += 1
#inlen = max(len(weight), len(data_in))
#product = weight.sign_extended(inlen*2) * data_in.sign_extended(inlen*2)
#product = product[:inlen*2]
**product = helperfuncs.mult_signed(weight, data_in)[:32]**
#plen = len(weight) + len(data_in)
#product = weight.sign_extended(plen) * data_in.sign_extended(plen)
#product = product[:plen]
--> product = corecircuits.mult_signed(weight, data_in)[:32]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels