Skip to content
Snippets Groups Projects
Commit 512b5c50 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Lookup] fix from Thomas for external lookup behavior

parent 106b0258
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ class Lookup(HLSCustomOp):
]
elif mem_mode == "external":
hls_impl = """
for(unsigned i = 0; i < NumInputs; i++) {
if(!in0.empty()) {
ap_uint<T_SRC::width+EmbeddingAlign> const base =
(in0.read(), ap_uint<EmbeddingAlign>(0));
for(unsigned j = 0; j < EmbeddingSize; j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment