openvino.TensorVector#
- class openvino.TensorVector#
Bases:
pybind11_object
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openvino._pyopenvino.TensorVector) -> None
__init__(self: openvino._pyopenvino.TensorVector, arg0: openvino._pyopenvino.TensorVector) -> None
Copy constructor
__init__(self: openvino._pyopenvino.TensorVector, arg0: collections.abc.Iterable) -> None
Methods
__bool__
(self)Check whether the list is nonempty
__delattr__
(name, /)Implement delattr(self, name).
__delitem__
(*args, **kwargs)Overloaded function.
__dir__
()Default dir() implementation.
__eq__
(value, /)Return self==value.
__format__
(format_spec, /)Default object formatter.
__ge__
(value, /)Return self>=value.
__getattribute__
(name, /)Return getattr(self, name).
__getitem__
(*args, **kwargs)Overloaded function.
Helper for pickle.
__gt__
(value, /)Return self>value.
__hash__
()Return hash(self).
__init__
(*args, **kwargs)Overloaded function.
This method is called when a class is subclassed.
__iter__
(self)__le__
(value, /)Return self<=value.
__len__
(self)__lt__
(value, /)Return self<value.
__ne__
(value, /)Return self!=value.
__new__
(**kwargs)Helper for pickle.
__reduce_ex__
(protocol, /)Helper for pickle.
__repr__
()Return repr(self).
__setattr__
(name, value, /)Implement setattr(self, name, value).
__setitem__
(*args, **kwargs)Overloaded function.
Size of object in memory, in bytes.
__str__
()Return str(self).
Abstract classes can override this to customize issubclass().
append
(self, x)Add an item to the end of the list
clear
(self)Clear the contents
extend
(*args, **kwargs)Overloaded function.
insert
(self, i, x)Insert an item at a given position.
pop
(*args, **kwargs)Overloaded function.
Attributes
- __annotations__ = {}#
- __bool__(self: openvino._pyopenvino.TensorVector) bool #
Check whether the list is nonempty
- __class__#
alias of
pybind11_type
- __delattr__(name, /)#
Implement delattr(self, name).
- __delitem__(*args, **kwargs)#
Overloaded function.
__delitem__(self: openvino._pyopenvino.TensorVector, arg0: typing.SupportsInt) -> None
Delete the list elements at index
i
__delitem__(self: openvino._pyopenvino.TensorVector, arg0: slice) -> None
Delete list elements using a slice object
- __dir__()#
Default dir() implementation.
- __eq__(value, /)#
Return self==value.
- __format__(format_spec, /)#
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.
- __ge__(value, /)#
Return self>=value.
- __getattribute__(name, /)#
Return getattr(self, name).
- __getitem__(*args, **kwargs)#
Overloaded function.
__getitem__(self: openvino._pyopenvino.TensorVector, s: slice) -> openvino._pyopenvino.TensorVector
Retrieve list elements using a slice object
__getitem__(self: openvino._pyopenvino.TensorVector, arg0: typing.SupportsInt) -> openvino._pyopenvino.Tensor
- __getstate__()#
Helper for pickle.
- __gt__(value, /)#
Return self>value.
- __hash__()#
Return hash(self).
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: openvino._pyopenvino.TensorVector) -> None
__init__(self: openvino._pyopenvino.TensorVector, arg0: openvino._pyopenvino.TensorVector) -> None
Copy constructor
__init__(self: openvino._pyopenvino.TensorVector, arg0: collections.abc.Iterable) -> None
- __init_subclass__()#
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- __iter__(self: openvino._pyopenvino.TensorVector) collections.abc.Iterator[openvino._pyopenvino.Tensor] #
- __le__(value, /)#
Return self<=value.
- __len__(self: openvino._pyopenvino.TensorVector) int #
- __lt__(value, /)#
Return self<value.
- __ne__(value, /)#
Return self!=value.
- __new__(**kwargs)#
- __reduce__()#
Helper for pickle.
- __reduce_ex__(protocol, /)#
Helper for pickle.
- __repr__()#
Return repr(self).
- __setattr__(name, value, /)#
Implement setattr(self, name, value).
- __setitem__(*args, **kwargs)#
Overloaded function.
__setitem__(self: openvino._pyopenvino.TensorVector, arg0: typing.SupportsInt, arg1: openvino._pyopenvino.Tensor) -> None
__setitem__(self: openvino._pyopenvino.TensorVector, arg0: slice, arg1: openvino._pyopenvino.TensorVector) -> None
Assign list elements using a slice object
- __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).
- _pybind11_conduit_v1_()#
- append(self: openvino._pyopenvino.TensorVector, x: openvino._pyopenvino.Tensor) None #
Add an item to the end of the list
- clear(self: openvino._pyopenvino.TensorVector) None #
Clear the contents
- extend(*args, **kwargs)#
Overloaded function.
extend(self: openvino._pyopenvino.TensorVector, L: openvino._pyopenvino.TensorVector) -> None
Extend the list by appending all the items in the given list
extend(self: openvino._pyopenvino.TensorVector, L: collections.abc.Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: openvino._pyopenvino.TensorVector, i: SupportsInt, x: openvino._pyopenvino.Tensor) None #
Insert an item at a given position.
- pop(*args, **kwargs)#
Overloaded function.
pop(self: openvino._pyopenvino.TensorVector) -> openvino._pyopenvino.Tensor
Remove and return the last item
pop(self: openvino._pyopenvino.TensorVector, i: typing.SupportsInt) -> openvino._pyopenvino.Tensor
Remove and return the item at index
i