LEAKY serialized

This commit is contained in:
Francesco Gatti
2017-08-11 16:32:22 +02:00
parent 04f96048b6
commit 57c9a6ec99
5 changed files with 150 additions and 59 deletions
+5
View File
@@ -13,6 +13,11 @@ void printCenteredTitle(const char *title, char fill, int dim) {
std::cout.fill(' ');
}
bool fileExist(const char *fname) {
std::ifstream dataFile (fname, std::ios::in | std::ios::binary);
return dataFile;
}
void readBinaryFile(const char* fname, int size, dnnType** data_h, dnnType** data_d, int seek)
{