Deeploy.Targets.CortexM.Platform.CMSISPlatform
- class Deeploy.Targets.CortexM.Platform.CMSISPlatform(engines=[CMSISEngine(name='cmsis', mappings=['Add', 'CLCA', 'DebugPrint', 'Flatten', 'Gather', 'iGELU', 'iLayerNorm', 'IntegerDiv', 'IntegerMean', 'iSoftmax', 'LinearAttention', 'MatMul', 'MaxPool', 'Mul', 'Pad', 'ReduceMean', 'ReduceSum', 'RequantizedConv', 'RequantizedGemm', 'RequantizediGELU', 'RequantShift', 'Reshape', 'RQIntegerDiv', 'Transpose', 'Unsqueeze', 'Slice'])], variableBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISTransientBuffer'>)
Bases:
DeploymentPlatform
Methods
- __init__(engines=[CMSISEngine(name='cmsis', mappings=['Add', 'CLCA', 'DebugPrint', 'Flatten', 'Gather', 'iGELU', 'iLayerNorm', 'IntegerDiv', 'IntegerMean', 'iSoftmax', 'LinearAttention', 'MatMul', 'MaxPool', 'Mul', 'Pad', 'ReduceMean', 'ReduceSum', 'RequantizedConv', 'RequantizedGemm', 'RequantizediGELU', 'RequantShift', 'Reshape', 'RQIntegerDiv', 'Transpose', 'Unsqueeze', 'Slice'])], variableBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.CortexM.Platform.CMSISTransientBuffer'>)
Initializes a new deployment platform
- Parameters:
engines (List[DeploymentEngine]) – List of all available non-host engines
variableBuffer (Type[VariableBuffer]) – VariableBuffer subclass with correctly set allocation and deallocation templates
constantBuffer (Type[ConstantBuffer]) – ConstantBuffer subclass with correctly set allocation and deallocation templates
structBuffer (Type[StructBuffer]) – StructBuffer subclass with correctly set allocation and deallocation templates
transientBuffer (Type[TransientBuffer]) – TransientBuffer subclass with correctly set allocation and deallocation templates
__init__
([engines, variableBuffer, ...])Initializes a new deployment platform
Attributes
A list of all available non-host engines
- engines
A list of all available non-host engines
- Type:
List[DeploymentEngine]