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
+3 -1
View File
@@ -48,10 +48,12 @@ public:
virtual size_t getSerializationSize() override {
return 0;
return 1*sizeof(int);
}
virtual void serialize(void* buffer) override {
char *buf = reinterpret_cast<char*>(buffer);
tkDNN::writeBUF(buf, size);
}
int size;