Deeploy.Targets.GAP9.Platform.GAP9Platform
- class Deeploy.Targets.GAP9.Platform.GAP9Platform(engines=[GAP9ClusterEngine(name='GAP9Cluster', mappings=['Conv', 'RequantizedConv', 'RequantizedGemm', 'Gemm', 'Gelu', 'LayerNormalization', 'MaxPool', 'RequantizediGELU', 'RQIntegerDiv', 'MatMul', 'IntegerMean', 'iSoftmax', 'Softmax', 'ReduceMean', 'ReduceSum', 'RequantShift', 'Add', 'Flatten', 'Gather', 'Mul', 'Pad', 'Relu', 'Reshape', 'Squeeze', 'Transpose', 'Unsqueeze', 'Slice', 'RequantizedAdd', 'Concat', 'iRMSNorm', 'iHardswish', 'RequantizediHardswish', 'Quant', 'Dequant', 'SoftmaxGrad', 'SoftmaxCrossEntropyLoss', 'SoftmaxCrossEntropyLossGrad', 'SGD'])], variableBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9VariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9ConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9StructBuffer'>, transientBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9TransientBuffer'>)
Bases:
DeploymentPlatformMethods
- __init__(engines=[GAP9ClusterEngine(name='GAP9Cluster', mappings=['Conv', 'RequantizedConv', 'RequantizedGemm', 'Gemm', 'Gelu', 'LayerNormalization', 'MaxPool', 'RequantizediGELU', 'RQIntegerDiv', 'MatMul', 'IntegerMean', 'iSoftmax', 'Softmax', 'ReduceMean', 'ReduceSum', 'RequantShift', 'Add', 'Flatten', 'Gather', 'Mul', 'Pad', 'Relu', 'Reshape', 'Squeeze', 'Transpose', 'Unsqueeze', 'Slice', 'RequantizedAdd', 'Concat', 'iRMSNorm', 'iHardswish', 'RequantizediHardswish', 'Quant', 'Dequant', 'SoftmaxGrad', 'SoftmaxCrossEntropyLoss', 'SoftmaxCrossEntropyLossGrad', 'SGD'])], variableBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9VariableBuffer'>, constantBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9ConstantBuffer'>, structBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9StructBuffer'>, transientBuffer=<class 'Deeploy.Targets.GAP9.Platform.GAP9TransientBuffer'>) None
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]