Skip to content

Commit 8bb72f9

Browse files
committed
test published
1 parent 3d8a80a commit 8bb72f9

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/io/bioimage/modelrunner/tensorflow/v2/api030/shm

1 file changed

+2
-1
lines changed

src/main/java/io/bioimage/modelrunner/tensorflow/v2/api030/shm/ShmBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ private static void buildFromTensorFloat(TFloat32 tensor, String memoryName) thr
142142
ByteBuffer buff = shma.getDataBufferNoHeader();
143143
ByteDataBuffer tensorData = tensor.asRawTensor().data();
144144
long tt = System.currentTimeMillis();
145+
/**
145146
for (int i = 0; i < buff.capacity(); i ++) {
146147
buff.put(tensorData.getByte(i));
147-
}
148+
}*/
148149
System.out.println("TIME 1: " + (System.currentTimeMillis() - tt));
149150
buff.rewind();
150151
tt = System.currentTimeMillis();

0 commit comments

Comments
 (0)