This commit adds 'Network' class which serves as in-memory Caffe model
representation.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
--- /dev/null
+#ifndef __NETWORK_H__
+#define __NETWORK_H__
+
+#include "BlobContext.h"
+#include "LayerContext.h"
+
+class Network
+{
+public:
+ LayerContext &layers(void) { return _layers; }
+ const LayerContext &layers(void) const { return _layers; }
+
+public:
+ BlobContext &blobs(void) { return _blobs; }
+ const BlobContext &blobs(void) const { return _blobs; }
+
+private:
+ BlobContext _blobs;
+ LayerContext _layers;
+};
+
+#endif // __NETWORK_H__