Skip to content

Commit 15c6e38

Browse files
committed
[Lookup] Test data should also be read as float32 container type
1 parent 3de81d0 commit 15c6e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/finn/custom_op/fpgadataflow/hls/lookup_hls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def read_npy_data(self):
9898
packed_bits = self.get_instream_width()
9999
packed_hls_type = "ap_uint<%d>" % packed_bits
100100
elem_hls_type = dtype.get_hls_datatype_str()
101-
npy_type = "int64_t"
101+
npy_type = "float"
102102
npy_in = "%s/input_0.npy" % code_gen_dir
103103
self.code_gen_dict["$READNPYDATA$"] = []
104104
self.code_gen_dict["$READNPYDATA$"].append(

0 commit comments

Comments
 (0)