summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Belousov <belbes122@yandex.ru>2018-11-22 21:01:04 +0300
committeropenvino-pushbot <44090433+openvino-pushbot@users.noreply.github.com>2018-11-22 21:01:04 +0300
commit54eab180361ec09fbd82e2bb62adfeb521275774 (patch)
tree5631c44ce7101683eace56cd3ed8420ac5335302
parente607ee70212797cf9ca51dac5b7ac79f66a1c73f (diff)
downloaddldt-54eab180361ec09fbd82e2bb62adfeb521275774.tar.gz
dldt-54eab180361ec09fbd82e2bb62adfeb521275774.tar.bz2
dldt-54eab180361ec09fbd82e2bb62adfeb521275774.zip
Update ie_api.pyx (#31)
Fix error: dldt/inference-engine/ie_bridges/python/inference_engine/ie_api.pyx:296:10: Signature not compatible with previous declaration
-rw-r--r--inference-engine/ie_bridges/python/inference_engine/ie_api.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/inference-engine/ie_bridges/python/inference_engine/ie_api.pyx b/inference-engine/ie_bridges/python/inference_engine/ie_api.pyx
index ccef07957..081021f71 100644
--- a/inference-engine/ie_bridges/python/inference_engine/ie_api.pyx
+++ b/inference-engine/ie_bridges/python/inference_engine/ie_api.pyx
@@ -293,7 +293,7 @@ cdef class IEPlugin:
version = bytes(self.impl.version)
return version.decode()
- cpdef void add_cpu_extension(self, extension_path: str) except *:
+ cpdef void add_cpu_extension(self, str extension_path) except *:
if self.device.find("CPU") == -1:
raise RuntimeError("add_cpu_extension method applicable only for CPU or HETERO devices")
cdef string extension_str = extension_path.encode()
@@ -371,4 +371,4 @@ cdef class BlobBuffer:
return precision_to_format[name].encode()
def to_numpy(self):
- return np.asarray(self) \ No newline at end of file
+ return np.asarray(self)