From cfd3bbab64a62aad1f4393530e13a0849e7d8dd4 Mon Sep 17 00:00:00 2001 From: liutuo Date: Tue, 3 Jul 2018 19:05:15 +0800 Subject: [PATCH] update --- docs/user_guide/basic_usage.rst | 2 +- mace/examples/cli/example.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/user_guide/basic_usage.rst b/docs/user_guide/basic_usage.rst index 1ce17469..b90909dc 100644 --- a/docs/user_guide/basic_usage.rst +++ b/docs/user_guide/basic_usage.rst @@ -311,6 +311,6 @@ Please refer to \ ``mace/examples/example.cc``\ for full usage. The following li } // 6. Run the model - MaceStatus status = engine.Run(inputs, &outputs); + engine->Run(inputs, &outputs); More details in `advanced_usage`. \ No newline at end of file diff --git a/mace/examples/cli/example.cc b/mace/examples/cli/example.cc index 32373058..aba876de 100644 --- a/mace/examples/cli/example.cc +++ b/mace/examples/cli/example.cc @@ -20,6 +20,8 @@ #include #include "gflags/gflags.h" +#include "mace/utils/env_time.h" +#include "mace/utils/logging.h" #include "mace/public/mace.h" #include "mace/public/mace_runtime.h" // if convert model to code. -- GitLab