From 11d148a5ebffdcaee6220d36286e8c4f6df1951a Mon Sep 17 00:00:00 2001 From: raver119 Date: Wed, 4 Mar 2020 08:14:39 +0300 Subject: [PATCH] get back to single-byte reads Signed-off-by: raver119 --- libnd4j/include/graph/impl/GraphExecutioner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnd4j/include/graph/impl/GraphExecutioner.cpp b/libnd4j/include/graph/impl/GraphExecutioner.cpp index aeb8f61b5..c673d2b31 100644 --- a/libnd4j/include/graph/impl/GraphExecutioner.cpp +++ b/libnd4j/include/graph/impl/GraphExecutioner.cpp @@ -837,7 +837,7 @@ uint8_t* readFlatBuffers(const char * filename) { int cnt = 0; int b = 0; while (cnt < fileLen) { - b = fread(data + cnt, 1, 16384, in); + b = fread(data + cnt, 1, 1, in); cnt += b; }