Deeploy.Targets.Snitch.Platform.SnitchPlatform
- class Deeploy.Targets.Snitch.Platform.SnitchPlatform(engines=[SnitchClusterEngine(name='SnitchCluster', mappings=['RQIntegerDiv', 'Gather', 'Pad', 'Unsqueeze', 'MatMul', 'Gemm', 'RQGemm', 'iSoftmax', 'Softmax', 'iNoNorm', 'iLayerNorm', 'RequantizedAdd', 'Add'])], variableBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchTransientBuffer'>, includeList: ~typing.List[str] = ['snrt.h', 'DeeploySnitchMath.h'])
Bases:
DeploymentPlatform
Methods
- __init__(engines=[SnitchClusterEngine(name='SnitchCluster', mappings=['RQIntegerDiv', 'Gather', 'Pad', 'Unsqueeze', 'MatMul', 'Gemm', 'RQGemm', 'iSoftmax', 'Softmax', 'iNoNorm', 'iLayerNorm', 'RequantizedAdd', 'Add'])], variableBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchVariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchStructBuffer'>, transientBuffer=<class 'Deeploy.Targets.Snitch.Platform.SnitchTransientBuffer'>, includeList: ~typing.List[str] = ['snrt.h', 'DeeploySnitchMath.h'])
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]