mltk.core.TfliteConv2DLayerOptions

class TfliteConv2DLayerOptions[source]

Convolution layer options

Properties

activation

Fused activation

activation_str

Fused activation as a string

options_type

.tflite schema option code

options_type_str

.tflite schema option as a string

padding

Padding type

padding_str

Padding as a string

stride_height

Kernel stride height

stride_width

Kernel stride width

Methods

InitFromBuf

InitFromObj

Pack

__init__

__init__(opts=None)[source]
property activation_str: str

Fused activation as a string

Return type:

str

property activation: TfliteActivation

Fused activation

Return type:

TfliteActivation

property padding_str: str

Padding as a string

Return type:

str

property padding: TflitePadding

Padding type

Return type:

TflitePadding

property stride_width: int

Kernel stride width

Return type:

int

property stride_height: int

Kernel stride height

Return type:

int

property options_type: BuiltinOptions

.tflite schema option code

Return type:

BuiltinOptions

property options_type_str: str

.tflite schema option as a string

Return type:

str