Fix spelling errors in the API and bindings (#2781)

This commit is contained in:
Roman Donchenko
2020-10-23 09:17:03 +03:00
committed by GitHub
parent 258c51bd1f
commit ba3fc7fb8a
11 changed files with 26 additions and 26 deletions

View File

@@ -209,7 +209,7 @@ public:
*
* Wraps IExecutableNetwork::GetConfig
* @param name - config key, can be found in ie_plugin_config.hpp
* @return Configuration paramater value
* @return Configuration parameter value
*/
Parameter GetConfig(const std::string& name) const {
Parameter configValue;
@@ -222,7 +222,7 @@ public:
*
* Wraps IExecutableNetwork::GetMetric
* @param name - metric name to request
* @return Metric paramater value
* @return Metric parameter value
*/
Parameter GetMetric(const std::string& name) const {
Parameter metricValue;

View File

@@ -55,7 +55,7 @@ DECLARE_GNA_CONFIG_KEY(PRECISION);
DECLARE_GNA_CONFIG_KEY(FIRMWARE_MODEL_IMAGE);
/**
* @brief inforamtion on GNA generation chosen for firmware model dump, can be overriden by GNA3
* @brief information on GNA generation chosen for firmware model dump, can be overridden by GNA3
*/
DECLARE_GNA_CONFIG_KEY(FIRMWARE_MODEL_IMAGE_GENERATION);

View File

@@ -404,7 +404,7 @@ public:
*
* The memory been addressed in the MemoryBlob in general case can be allocated on remote device.
* This function copies remote memory to the memory in the virtual process space and after
* destruction of the LockedMemory it will not upload host memory back, bacause it is expected that
* destruction of the LockedMemory it will not upload host memory back, because it is expected that
* content is not changed.
*
* To have an ability change content, you can use rwmap() and wmap() functions.
@@ -428,10 +428,10 @@ public:
*
* The memory been addressed in the MemoryBlob in general case can be allocated on remote device.
* This function does not copy of the content from the device to the memory in the virtual process
* space, the content of the memory just after calling of this functin is not specified. After
* space, the content of the memory just after calling of this function is not specified. After
* destruction of the LockedMemory, content will be upload host memory.
* In the same time there is no abilities to restrict reading from the memory, you need to care of
* reading from memory got by wmap(), it might have sence in some cases like filling of content and
* reading from memory got by wmap(), it might have sense in some cases like filling of content and
* before uploading to device
*
* To access data stored in the blob, you can use rwmap() and rmap() functions.

View File

@@ -79,7 +79,7 @@ enum Layout : uint8_t {
SCALAR = 95, //!< A scalar layout
// bias layouts
C = 96, //!< A bias layout for opearation
C = 96, //!< A bias layout for operation
// Single image layouts
CHW = 128, //!< A single image layout (e.g. for mean image)
@@ -166,7 +166,7 @@ struct InferenceEngineProfileInfo {
* @brief Defines the general status of the layer
*/
enum LayerStatus {
NOT_RUN, //!< A layer is not exectued
NOT_RUN, //!< A layer is not executed
OPTIMIZED_OUT, //!< A layer is optimized out during graph optimization phase
EXECUTED //!< A layer is executed
};
@@ -237,7 +237,7 @@ struct ResponseDesc {
/**
* @brief Responce structure encapsulating information about supported layer
* @brief Response structure encapsulating information about supported layer
*/
struct QueryNetworkResult {
/**

View File

@@ -44,7 +44,7 @@ public:
/**
* @brief Returns plugins version information
*
* @param deviceName Device name to indentify plugin
* @param deviceName Device name to identify plugin
* @return A vector of versions
*/
std::map<std::string, Version> GetVersions(const std::string& deviceName) const;
@@ -184,7 +184,7 @@ public:
/**
* @brief Sets configuration for device, acceptable keys can be found in ie_plugin_config.hpp
*
* @param deviceName An optinal name of a device. If device name is not specified, the config is set for all the
* @param deviceName An optional name of a device. If device name is not specified, the config is set for all the
* registered devices.
*
* @param config Map of pairs: (config parameter name, config parameter value)

View File

@@ -160,7 +160,7 @@ public:
/**
* @brief Gets shared context used to create an executable network.
*
* @param pContext Refernce to a pointer that will receive resulting shared context object ptr
* @param pContext Reference to a pointer that will receive resulting shared context object ptr
* @param resp Pointer to the response message that holds a description of an error if any occurred
* @return code of the operation. InferenceEngine::OK if succeeded
*/

View File

@@ -194,7 +194,7 @@ public:
* @brief A wrapper of CreateBlob method of RemoteContext to keep consistency with
* plugin-specific wrappers.
* @param desc Defines the layout and dims of the blob
* @param ctx Poniter to the plugin object derived from RemoteContext.
* @param ctx Pointer to the plugin object derived from RemoteContext.
* @return A pointer to plugin object that implements RemoteBlob interface.
*/
inline RemoteBlob::Ptr make_shared_blob(const TensorDesc& desc, RemoteContext::Ptr ctx) {