mltk.core.TflitePool2DLayerOptions

class TflitePool2DLayerOptions[source]

Pooling layer options

Properties

activation

Fused activation

activation_str

Fused activation as a string

filter_height

Filter height

filter_width

Filter width

options_type

.tflite schema option code

options_type_str

.tflite schema option as a string

padding

Filter padding

padding_str

Filter padding as a string

stride_height

Filter stride height

stride_width

Filter stride width

Methods

InitFromBuf

InitFromObj

Pack

__init__

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

Filter stride width

Return type:

int

property stride_height: int

Filter stride height

Return type:

int

property filter_width: int

Filter width

Return type:

int

property filter_height: int

Filter height

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

Filter padding as a string

Return type:

str

property padding: TflitePadding

Filter 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