aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/fp_math.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/fp_math.py')
-rw-r--r--ethosu/vela/fp_math.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/fp_math.py b/ethosu/vela/fp_math.py
index 2515b771..66375611 100644
--- a/ethosu/vela/fp_math.py
+++ b/ethosu/vela/fp_math.py
@@ -21,6 +21,7 @@
# point implementation.
import numpy as np
+
# Convert floating point to fixed point, default Q5.26
def from_float(x, integer_bits=5):
i32info = np.iinfo(np.int32)