diff --git a/mace/public/mace.h b/mace/public/mace.h index 71538d7aaa8bbf9fa5ba13604fb8f741b815503f..dea5a2e78e68d42920b4b01829c6956920492281 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 f3712a3b57f8b297469292bc73771073662d3ed9..141825830b1faa82d9cca82fee48b839ed6c0d1b 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_