From f7081a2e532db1208235b95e507da4e0ed564266 Mon Sep 17 00:00:00 2001 From: Liangliang He Date: Tue, 27 Mar 2018 16:50:06 +0800 Subject: [PATCH] Update comments --- mace/public/mace.h | 1 + mace/public/mace_types.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mace/public/mace.h b/mace/public/mace.h index 71538d7a..dea5a2e7 100644 --- a/mace/public/mace.h +++ b/mace/public/mace.h @@ -19,6 +19,7 @@ namespace mace { const char *MaceVersion(); enum DeviceType { CPU = 0, NEON = 1, OPENCL = 2, HEXAGON = 3 }; + enum MaceStatus { MACE_SUCCESS = 0, MACE_INVALID_ARGS = 1 }; // MACE input/output tensor diff --git a/mace/public/mace_types.h b/mace/public/mace_types.h index f3712a3b..14182583 100644 --- a/mace/public/mace_types.h +++ b/mace/public/mace_types.h @@ -3,7 +3,7 @@ // // This file defines data types used by net creation and benchmark tools. -// These APIs are not stable. +// These APIs are not stable and should only be used by advanced users. #ifndef MACE_PUBLIC_MACE_TYPES_H_ #define MACE_PUBLIC_MACE_TYPES_H_ -- GitLab