diff --git a/docs/user_guide/basic_usage.rst b/docs/user_guide/basic_usage.rst index 1ce1746920eb6ceb059642adcb5b25b2d6def007..b90909dc3ae44f8e353cafc16bf969d5a6d30d5f 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 323730585db159a10b21cb152e80b5257f83e3ed..aba876de36fd511644ea19295b4d06044b394f93 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.