openvino.runtime.ConstOutput¶
- class openvino.runtime.ConstOutput¶
Bases:
pybind11_builtins.pybind11_objectopenvino.runtime.ConstOutput represents port/node output.
- __init__(*args, **kwargs)¶
Methods
__copy__(self)__deepcopy__(self, arg0)__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)This method is called when a class is subclassed.
__le__(self, arg0)__lt__(self, arg0)__ne__(self, arg0)__new__(**kwargs)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
- __copy__(self: openvino._pyopenvino.ConstOutput) openvino._pyopenvino.ConstOutput¶
- __deepcopy__(self: openvino._pyopenvino.ConstOutput, arg0: dict) None¶
- __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)¶
- __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)¶
- __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¶