elasticai.preprocessor.sequential.sequential#

Module Contents#

Classes#

BuildPlatformTargets

CreateSequentialSettings

Settings for building the pipeline segments for hardware platform

PreprocessingSequential

API#

class elasticai.preprocessor.sequential.sequential.BuildPlatformTargets(*args, **kwds)[source]#

Bases: enum.Enum

Workstation#

‘pc’

MCU#

‘mcu’

FPGA#

‘fpga’

ASIC#

‘asic’

class elasticai.preprocessor.sequential.sequential.CreateSequentialSettings[source]#

Settings for building the pipeline segments for hardware platform

Attributes: target: Definition of the hardware target to build (supported TargetsBuildPlatform) total_bitwidth: Integer with the total bitwidth for representing the data frac_bitwidth: Integer with the fractional bitwidth for representing the data (if fixed_point) do_signed: Boolean for setting the signed data format path2build: Path to build output directory

target: elasticai.preprocessor.sequential.sequential.BuildPlatformTargets#

None

total_bitwidth: int#

None

frac_bitwidth: int#

None

do_signed: bool#

None

path2build: pathlib.Path#

None

class elasticai.preprocessor.sequential.sequential.PreprocessingSequential(*modules: elasticai.preprocessor._basics.PreprocessingModule)[source]#

Initialization

modules: list[elasticai.preprocessor._basics.PreprocessingModule]#

None

__call__(x: numpy.ndarray, fs: float) → elasticai.preprocessor._basics.DataTransient | elasticai.preprocessor._basics.DataWaveform[source]#
__getitem__(idx)[source]#
__len__()[source]#
append(module: elasticai.preprocessor._basics.PreprocessingModule)[source]#
__repr__()[source]#
create_design(settings: elasticai.preprocessor.sequential.sequential.CreateSequentialSettings) → None[source]#

Create the pipeline design for deploying on hardware

Parameters:

settings – Dataclass SettingsCreateSequential for building the hardware designs

Returns:

None