UtilitiesΒΆ

The MLTK Python package comes with various utility scripts.

The source code for these APIs may be found on Github at https://github.com/siliconlabs/mltk/tree/master/mltk/utils.

The following utilities are available:

mltk.utils.audio_dataset_generator

Allows for generating a synthetic keyword audio datasets

mltk.utils.uart_stream

Allows for streaming binary data between a Python script and embedded device via UART

mltk.utils.jlink_stream

Allows for transferring binary data between a Python script and a JLink-enabled embedded device via the debug interface

mltk.utils.serial_reader

Allows for reading from a serial port (e.g. from the UART of an embedded device)

mltk.utils.archive_downloader

Utilities for downloading and extracting archives

mltk.utils.archive

Utilities for extracting archives

mltk.utils.bin2header

Utilities for generating a "C" header file from binary data

mltk.utils.cmake

Utilities for invoking CMake

mltk.utils.gpu

GPU utilities

mltk.utils.hasher

Data hashing utilities

mltk.utils.logger

Data logging utilities

mltk.utils.path

File path utilities

mltk.utils.python

Common Python utilities

mltk.utils.shell_cmd

Shell command utility

mltk.utils.string_formatting

String formatting utilities

mltk.utils.system

General system utilities

mltk.utils.signal_handler.SignalHandler

Class to detect OS signals

mltk.utils.process_pool.ProcessPool

Parallel Processing Pool