Skip to content

Commit

Permalink
[Lookup] Test data should also be read as float32 container type
Browse files Browse the repository at this point in the history
  • Loading branch information
iksnagreb committed Feb 14, 2025
1 parent 3de81d0 commit 15c6e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/finn/custom_op/fpgadataflow/hls/lookup_hls.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def read_npy_data(self):
packed_bits = self.get_instream_width()
packed_hls_type = "ap_uint<%d>" % packed_bits
elem_hls_type = dtype.get_hls_datatype_str()
npy_type = "int64_t"
npy_type = "float"
npy_in = "%s/input_0.npy" % code_gen_dir
self.code_gen_dict["$READNPYDATA$"] = []
self.code_gen_dict["$READNPYDATA$"].append(
Expand Down

0 comments on commit 15c6e38

Please sign in to comment.