From 01c5b36f9d0f39588786d988babdc2253ae8ad57 Mon Sep 17 00:00:00 2001 From: liuqi Date: Wed, 27 Jun 2018 21:17:37 +0800 Subject: [PATCH] Remove internal strings and typo. --- mace/python/tools/encrypt_opencl_codegen.py | 2 +- mace/utils/utils.h | 2 +- tools/converter.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mace/python/tools/encrypt_opencl_codegen.py b/mace/python/tools/encrypt_opencl_codegen.py index e5fb93c9..38e3fea9 100644 --- a/mace/python/tools/encrypt_opencl_codegen.py +++ b/mace/python/tools/encrypt_opencl_codegen.py @@ -23,7 +23,7 @@ import jinja2 FLAGS = None -encrypt_lookup_table = "Xiaomi-AI-Platform-Mace" +encrypt_lookup_table = "Mobile-AI-Compute-Engine" def encrypt_code(code_str): diff --git a/mace/utils/utils.h b/mace/utils/utils.h index f8a8b9fe..c153e4ba 100644 --- a/mace/utils/utils.h +++ b/mace/utils/utils.h @@ -76,7 +76,7 @@ inline std::string ObfuscateString(const std::string &src, // ObfuscateString(ObfuscateString(str)) ==> str inline std::string ObfuscateString(const std::string &src) { // Keep consistent with obfuscation in python tools - return ObfuscateString(src, "Xiaomi-AI-Platform-Mace"); + return ObfuscateString(src, "Mobile-AI-Compute-Engine"); } // Obfuscate synbol or path string diff --git a/tools/converter.py b/tools/converter.py index 3a8d0276..8e36e9f6 100644 --- a/tools/converter.py +++ b/tools/converter.py @@ -1246,7 +1246,7 @@ def parse_args(): build_run_parent_parser.add_argument( '--address_sanitizer', action="store_true", - help="Whether to use valgrind to check memory error") + help="Whether to use address sanitizer to check memory error") run_bm_parent_parser = argparse.ArgumentParser(add_help=False) run_bm_parent_parser.add_argument( "--omp_num_threads", -- GitLab