mltk.core.TfliteDepthwiseConv2DLayerOptions

class TfliteDepthwiseConv2DLayerOptions[source]

Depthwise Convolution options

Properties

activation

Fused activation

activation_str

Fused activation as a string

multiplier

"Depth multiplier

options_type

.tflite schema option code

options_type_str

.tflite schema option as a string

padding

Kernel padding

padding_str

Kernel padding as a string

stride_height

"Kernel stride height

stride_width

Kernel stride width

Methods

InitFromBuf

InitFromObj

Pack

__init__

__init__(opts=None)[source]
property stride_width: int

Kernel stride width

Return type:

int

property stride_height: int

“Kernel stride height

Return type:

int

property multiplier: int

“Depth multiplier

Return type:

int

property activation_str: str

Fused activation as a string

Return type:

str

property activation: TfliteActivation

Fused activation

Return type:

TfliteActivation

property padding_str: str

Kernel padding as a string

Return type:

str

property padding: TflitePadding

Kernel padding

Return type:

TflitePadding

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