1 from .cimport ie_api_impl_defs as C
2 from .ie_api_impl_defs cimport Blob, TensorDesc
4 from libcpp.string cimport string
5 from libcpp.vector cimport vector
6 from libcpp.memory cimport unique_ptr
11 cdef vector[Py_ssize_t] shape
12 cdef vector[Py_ssize_t] strides
13 cdef reset(self, Blob.Ptr &)
14 cdef char*_get_blob_format(self, const TensorDesc & desc)
17 total_stride, item_size
19 cdef class InferRequest:
20 cdef C.InferRequestWrap *impl
22 cpdef BlobBuffer _get_blob_buffer(self, const string & blob_name)
24 cpdef infer(self, inputs = ?)
25 cpdef async_infer(self, inputs = ?)
26 cpdef wait(self, timeout = ?)
27 cpdef get_perf_counts(self)
29 _inputs_list, _outputs_list
34 cdef class ExecutableNetwork:
35 cdef unique_ptr[C.IEExecNetwork] impl
36 cdef C.IEPlugin plugin_impl
38 _requests, inputs, outputs
42 cpdef ExecutableNetwork load(self, IENetwork network, int num_requests = ?, config = ?)
43 cpdef void set_config(self, config)
44 cpdef void add_cpu_extension(self, str extension_path) except *
45 cpdef void set_initial_affinity(self, IENetwork network) except *
46 cpdef set get_supported_layers(self, IENetwork net)
48 cdef class IENetLayer:
49 cdef C.IENetLayer impl
54 cdef class OutputInfo:
55 cdef C.OutputInfo impl
57 cdef class LayersStatsMap(dict):
58 cdef C.IENetwork net_impl