NNgen / nngen

NNgen: A Fully-Customizable Hardware Synthesis Compiler for Deep Neural Network
Apache License 2.0
336 stars 46 forks source link

Fix input_scale_factors #60

Open hirayamy opened 1 year ago

hirayamy commented 1 year ago

I found a bug in tests/onnx_matrix_mul/onnx_matrix_mul.py. The outputs of torch model and np.eval does not match. So I fix the input_scale_factors as following.