8.1.1.2.1.1.1.2. blueoil.converter.core.data_types

8.1.1.2.1.1.1.2.1. Module Contents

8.1.1.2.1.1.1.2.1.1. Classes

DataType

Primitive

Special

Int

UInt

Int8

Uint8

Int16

Uint16

Int32

Uint32

PackedUint32

Int64

Uint64

PackedUint64

Float

float(x) -> floating point number

Float32

float(x) -> floating point number

Float64

float(x) -> floating point number

String

Void

Any

Bool

Size

Shape

Vec

QUANTIZED_NOT_PACKED

QUANTIZED_PACKED

QUANTIZED_PACKED_KERNEL

8.1.1.2.1.1.1.2.1.2. Functions

quantized_packed_type(t)

blueoil.converter.core.data_types.quantized_packed_type(t)
class blueoil.converter.core.data_types.DataType

Bases: object

__str__(self) → str

Return str(self).

abstract classmethod pytype(cls)
abstract classmethod cpptype(cls)
abstract classmethod nptype(cls)
classmethod name(cls)
__eq__(self, other)

Return self==value.

class blueoil.converter.core.data_types.Primitive

Bases: blueoil.converter.core.data_types.DataType

classmethod is_primitive(cls)
class blueoil.converter.core.data_types.Special

Bases: blueoil.converter.core.data_types.DataType

classmethod is_primitive(cls)
class blueoil.converter.core.data_types.Int

Bases: blueoil.converter.core.data_types.Special

classmethod pytype(cls)
classmethod cpptype(cls)
class blueoil.converter.core.data_types.UInt

Bases: blueoil.converter.core.data_types.Special

classmethod cpptype(cls)
class blueoil.converter.core.data_types.Int8

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Uint8

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Int16

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Uint16

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Int32

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Uint32

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.PackedUint32

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Int64

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Uint64

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.PackedUint64

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Float

Bases: blueoil.converter.core.data_types.Special, float

float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

classmethod pytype(cls)
classmethod cpptype(cls)
class blueoil.converter.core.data_types.Float32

Bases: blueoil.converter.core.data_types.Primitive, float

float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Float64

Bases: blueoil.converter.core.data_types.Primitive, float

float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.String

Bases: blueoil.converter.core.data_types.DataType

classmethod cpptype(cls)
class blueoil.converter.core.data_types.Void

Bases: blueoil.converter.core.data_types.DataType

classmethod pytype(cls)
classmethod cpptype(cls)
class blueoil.converter.core.data_types.Any

Bases: blueoil.converter.core.data_types.DataType

classmethod cpptype(cls)
class blueoil.converter.core.data_types.Bool

Bases: blueoil.converter.core.data_types.DataType

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.Size

Bases: blueoil.converter.core.data_types.DataType

classmethod cpptype(cls)
class blueoil.converter.core.data_types.Shape

Bases: blueoil.converter.core.data_types.DataType, List[Size]

classmethod cpptype(cls)
class blueoil.converter.core.data_types.Vec

Bases: blueoil.converter.core.data_types.DataType, List[Primitive]

classmethod cpptype(cls)
class blueoil.converter.core.data_types.QUANTIZED_NOT_PACKED

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.QUANTIZED_PACKED

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)
class blueoil.converter.core.data_types.QUANTIZED_PACKED_KERNEL

Bases: blueoil.converter.core.data_types.Primitive

classmethod cpptype(cls)
classmethod nptype(cls)