_pyngraph.Type

class _pyngraph.Type

Bases: pybind11_builtins.pybind11_object

ngraph.impl.Type wraps ngraph::element::Type

__init__(*args, **kwargs)

Methods

__delattr__(name, /)

Implement delattr(self, name).

__dir__()

Default dir() implementation.

__eq__(self, arg0)

__format__(format_spec, /)

Default object formatter.

__ge__(value, /)

Return self>=value.

__getattribute__(name, /)

Return getattr(self, name).

__gt__(value, /)

Return self>value.

__init__(*args, **kwargs)

__init_subclass__

This method is called when a class is subclassed.

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__new__(**kwargs)

__reduce__()

Helper for pickle.

__reduce_ex__(protocol, /)

Helper for pickle.

__repr__(self)

__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().

get_type_name(self)

Attributes

__hash__

__pybind11_module_local_v4_gcc_libstdcpp_cxxabi1014__

bf16

bitwidth

boolean

f16

f32

f64

i16

i32

i64

i8

is_real

u1

u16

u32

u64

u8

__class__

alias of pybind11_builtins.pybind11_type

__delattr__(name, /)

Implement delattr(self, name).

__dir__()

Default dir() implementation.

__eq__(self: _pyngraph.Type, arg0: _pyngraph.Type) bool
__format__(format_spec, /)

Default object formatter.

__ge__(value, /)

Return self>=value.

__getattribute__(name, /)

Return getattr(self, name).

__gt__(value, /)

Return self>value.

__hash__ = None
__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__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__new__(**kwargs)
__pybind11_module_local_v4_gcc_libstdcpp_cxxabi1014__ = <capsule object NULL>
__reduce__()

Helper for pickle.

__reduce_ex__(protocol, /)

Helper for pickle.

__repr__(self: _pyngraph.Type) 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).

bf16 = <Type: 'bfloat1616'>
property bitwidth
boolean = <Type: 'char8'>
f16 = <Type: 'float1616'>
f32 = <Type: 'float32'>
f64 = <Type: 'double64'>
get_type_name(self: _pyngraph.Type) str
i16 = <Type: 'int16_t16'>
i32 = <Type: 'int32_t32'>
i64 = <Type: 'int64_t64'>
i8 = <Type: 'int8_t8'>
property is_real
u1 = <Type: 'uuint1_t1'>
u16 = <Type: 'uuint16_t16'>
u32 = <Type: 'uuint32_t32'>
u64 = <Type: 'uuint64_t64'>
u8 = <Type: 'uuint8_t8'>