aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2019-11-05 11:27:36 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-11-05 16:27:44 +0000
commit2321443802298d5ebf53d74e79d24bd5f0630066 (patch)
treeae2f0def5d57c36ec972d5dfa7e9fa1ddaca6c9b /include
parent378bbfc0d7e97f7e63dc7e39117751a5ac3f21fe (diff)
downloadarmnn-2321443802298d5ebf53d74e79d24bd5f0630066.tar.gz
Rename Optimize's errMessages to messages
This parameter can contain both errors and warnings, so calling it errMessages is confusing as the user only expects to see errors here. Ideally this rename should be propagated to the lower layers of the implementation, but the public header change is the most useful part. Change-Id: I062564cf38d36f950adfa7c37c090b189e068134
Diffstat (limited to 'include')
-rw-r--r--include/armnn/INetwork.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp
index 10414923e8..6efc84fdf2 100644
--- a/include/armnn/INetwork.hpp
+++ b/include/armnn/INetwork.hpp
@@ -568,7 +568,7 @@ struct OptimizerOptions
/// @param network INetwork description of the network to be optimized.
/// @param backendPreferences The choice of the backend ordered by user preferences.
/// @param deviceSpec DeviceSpec object as queried from the runtime. See IRuntime::GetDeviceSpec()
-/// @param errMessages if there are failures or warnings a string describing same will be added to the vector
+/// @param messages If there are failures or warnings a string describing same will be added to the vector
/// @param options OptimizerOptions object with optimizer configuration options
/// @return An IOptimizedNetworkPtr interface to the optimized network, throws an exception derived from
/// armnn::Exception if process fails.
@@ -577,5 +577,5 @@ IOptimizedNetworkPtr Optimize(const INetwork& network,
const std::vector<BackendId>& backendPreferences,
const IDeviceSpec& deviceSpec,
const OptimizerOptions& options = OptimizerOptions(),
- Optional<std::vector<std::string>&> errMessages = EmptyOptional());
+ Optional<std::vector<std::string>&> messages = EmptyOptional());
} //namespace armnn