openvino.runtime.ConstOutput¶
-
class
openvino.runtime.
ConstOutput
¶ Bases:
pybind11_builtins.pybind11_object
openvino.runtime.ConstOutput represents port/node output.
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__delattr__
(name, /)Implement delattr(self, name).
__dir__
()Default dir() implementation.
__eq__
(self, arg0)__format__
(format_spec, /)Default object formatter.
__ge__
(self, arg0)__getattribute__
(name, /)Return getattr(self, name).
__gt__
(self, arg0)__hash__
(self)__init__
(*args, **kwargs)Initialize self.
This method is called when a class is subclassed.
__le__
(self, arg0)__lt__
(self, arg0)__ne__
(self, arg0)__new__
(**kwargs)Create and return a new object.
Helper for pickle.
__reduce_ex__
(protocol, /)Helper for pickle.
__repr__
(self)__setattr__
(name, value, /)Implement setattr(self, name, value).
Size of object in memory, in bytes.
__str__
()Return str(self).
Abstract classes can override this to customize issubclass().
_from_node
(self)get_any_name
(self)One of the tensor names associated with this output.
get_element_type
(self)The element type of the output referred to by this output handle.
get_index
(self)The index of the output referred to by this output handle.
get_names
(self)The tensor names associated with this output.
get_node
(self)Get node referenced by this output handle.
get_partial_shape
(self)The partial shape of the output referred to by this output handle.
get_rt_info
(self)Returns RTMap which is a dictionary of user defined runtime info.
get_shape
(self)The shape of the output referred to by this output handle.
get_target_inputs
(self)A set containing handles for all inputs, targeted by the output, referenced by this output handle.
get_tensor
(self)A reference to the tensor descriptor for this output.
Attributes
-
__class__
¶ alias of
pybind11_builtins.pybind11_type
-
__delattr__
(name, /)¶ Implement delattr(self, name).
-
__dir__
()¶ Default dir() implementation.
-
__eq__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__format__
(format_spec, /)¶ Default object formatter.
-
__ge__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__getattribute__
(name, /)¶ Return getattr(self, name).
-
__gt__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__hash__
(self: openvino.pyopenvino.ConstOutput) → int¶
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__lt__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__ne__
(self: openvino.pyopenvino.ConstOutput, arg0: openvino.pyopenvino.ConstOutput) → bool¶
-
__new__
(**kwargs)¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ Helper for pickle.
-
__reduce_ex__
(protocol, /)¶ Helper for pickle.
-
__repr__
(self: openvino.pyopenvino.ConstOutput) → str¶
-
__setattr__
(name, value, /)¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ Size of object in memory, in bytes.
-
__str__
()¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
_from_node
(self: openvino.pyopenvino.Node) → openvino.pyopenvino.Output¶
-
property
any_name
¶
-
property
element_type
¶
-
get_any_name
(self: openvino.pyopenvino.ConstOutput) → str¶ One of the tensor names associated with this output. Note: first name in lexicographical order.
- Returns
Tensor name as string.
- Return type
str
-
get_element_type
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.Type¶ The element type of the output referred to by this output handle.
- Returns
Type of the output.
- Return type
-
get_index
(self: openvino.pyopenvino.ConstOutput) → int¶ The index of the output referred to by this output handle.
- Returns
Index value as integer.
- Return type
int
-
get_names
(self: openvino.pyopenvino.ConstOutput) → Set[str]¶ The tensor names associated with this output.
- Returns
Set of tensor names.
- Return type
Set[str]
-
get_node
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.Node¶ Get node referenced by this output handle.
- Returns
Node object referenced by this output handle.
- Return type
-
get_partial_shape
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.PartialShape¶ The partial shape of the output referred to by this output handle.
- Returns
Copy of PartialShape of the output.
- Return type
-
get_rt_info
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.RTMap¶ Returns RTMap which is a dictionary of user defined runtime info.
- Returns
A dictionary of user defined data.
- Return type
-
get_shape
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.Shape¶ The shape of the output referred to by this output handle.
- Returns
Copy of Shape of the output.
- Return type
-
get_target_inputs
(self: openvino.pyopenvino.ConstOutput) → Set[openvino.pyopenvino.Input]¶ A set containing handles for all inputs, targeted by the output, referenced by this output handle.
- Returns
Set of Inputs.
- Return type
-
get_tensor
(self: openvino.pyopenvino.ConstOutput) → openvino.pyopenvino.DescriptorTensor¶ A reference to the tensor descriptor for this output.
- Returns
Tensor of the output.
- Return type
openvino.pyopenvino.DescriptorTensor
-
property
index
¶
-
property
names
¶
-
property
node
¶
-
property
partial_shape
¶
-
property
rt_info
¶
-
property
shape
¶
-
property
target_inputs
¶
-
property
tensor
¶
-