Skip to content

Commit

Permalink
test published
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 3, 2024
1 parent 3d8a80a commit 8bb72f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ private static void buildFromTensorFloat(TFloat32 tensor, String memoryName) thr
ByteBuffer buff = shma.getDataBufferNoHeader();
ByteDataBuffer tensorData = tensor.asRawTensor().data();
long tt = System.currentTimeMillis();
/**
for (int i = 0; i < buff.capacity(); i ++) {
buff.put(tensorData.getByte(i));
}
}*/
System.out.println("TIME 1: " + (System.currentTimeMillis() - tt));
buff.rewind();
tt = System.currentTimeMillis();
Expand Down

0 comments on commit 8bb72f9

Please sign in to comment.