This class is a C++ helper to work with objects created using extensions.
More...
#include <ie_extension.h>
This class is a C++ helper to work with objects created using extensions.
- Deprecated:
- Use a common Extension class. The interface will be removed in 2021.1 release.
§ ShapeInferExtension()
InferenceEngine::ShapeInferExtension::ShapeInferExtension |
( |
const file_name_t & |
name | ) |
|
|
inlineexplicit |
Loads extension from a shared library.
- Parameters
-
name | Full or relative path to extension library |
§ getShapeInferImpl()
|
inlineoverridevirtualnoexcept |
Gets shape propagation implementation for the given string-type of CNNLayer.
- Deprecated:
- Implement ngraph::op::Op::validate_and_infer_types method in a custom ngraph operation. The method will be removed in 2021.1 release.
- Parameters
-
impl | the vector with implementations which is ordered by priority |
type | A type of CNNLayer |
resp | response descriptor |
- Returns
- status code
Implements InferenceEngine::IShapeInferExtension.
§ getShapeInferTypes()
StatusCode InferenceEngine::ShapeInferExtension::getShapeInferTypes |
( |
char **& |
types, |
|
|
unsigned int & |
size, |
|
|
ResponseDesc * |
resp |
|
) |
| |
|
inlineoverridevirtualnoexcept |
Fills passed array with types of layers which shape infer implementations are included in the extension.
- Deprecated:
- Implement ngraph::op::Op::validate_and_infer_types method in a custom ngraph operation. The method will be removed in 2021.1 release.
- Parameters
-
types | Array to store the layer types |
size | Size of the layer types array |
resp | Response descriptor |
- Returns
- Status code
Implements InferenceEngine::IShapeInferExtension.
§ GetVersion()
|
inlineoverridevirtualnoexcept |
§ SetLogCallback()
|
inlineoverridevirtualnoexcept |
IErrorListener is not used anymore. StatusCode is provided in case of unexpected situations The method will be removed in 2021.1 release.
Sets a log callback that is used to track what is going on inside
- Parameters
-
Reimplemented from InferenceEngine::IShapeInferExtension.
The documentation for this class was generated from the following file: