From 21dad0ea15753e77b70ba58893b6cd92692402de Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 20 May 2019 13:59:30 +0900 Subject: [PATCH] [moco] Introduce GraphUpdate interface (#3525) * [moco] Introduce GraphUpdate interface This will introduce GraphUpdate interface Signed-off-by: SaeHie Park * add default destructor * add const --- contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h b/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h index da92da0..cc90d43 100644 --- a/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h +++ b/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h @@ -69,6 +69,21 @@ private: }; /** + * @brief Interface to connect the graph + */ +class GraphUpdate +{ +public: + virtual ~GraphUpdate() = default; + +public: + /** + * @brief Do the graph input connections using the SymbolTable + */ + virtual void input(const SymbolTable *) const = 0; +}; + +/** * @brief Class to store context to build graph IR from TensorFlow */ class GraphBuilderContext -- 2.7.4