afe.backends.mpk.definesο
Classesο
Provides data that is needed for reconstructing the MPK JSON file. |
|
Provides the information about a tensor type. |
|
Provides the information about a node. |
|
Provides the information about a Model input node. |
|
Provides the configuration parameters for the plugin. |
|
Configuration parameters for EV74 plugin. |
|
Configuration parameters for APU plugin. |
|
Configuration parameters for MLA plugin. |
|
Provides the information of the input node for plugin. |
|
Provides information about resources used by plugin. |
|
Provides data containing all information needed to generate MPK JSON data for a single plugin. |
|
Provides data containing all information needed to generate the MPK JSON data for a single model. |
Module Contentsο
- class afe.backends.mpk.defines.AFEMPKData[source]ο
Provides data that is needed for reconstructing the MPK JSON file. The data is convertible to JSON format. All changes to these data structures must adhere to changes in MPK file specification.
- class afe.backends.mpk.defines.TensorTypeMPKData[source]ο
Provides the information about a tensor type.
- class afe.backends.mpk.defines.ModelInputMPKData[source]ο
Provides the information about a Model input node.
- class afe.backends.mpk.defines.ConfigParamsMPKData[source]ο
Provides the configuration parameters for the plugin. Specification depends on the pluginβs processor type.
- class afe.backends.mpk.defines.EV74ConfigParamsMPKData[source]ο
Configuration parameters for EV74 plugin.
- class afe.backends.mpk.defines.APUConfigParamsMPKData[source]ο
Configuration parameters for APU plugin.
- input_names[source]ο
Names of the parameters of the APU codeβs entry point function. These names may be used when passing parameters at runtime. Must have the same length as input_types.
- input_types: list[TensorTypeMPKData][source]ο
- output_types: list[TensorTypeMPKData][source]ο
- class afe.backends.mpk.defines.MLAConfigParamsMPKData[source]ο
Configuration parameters for MLA plugin.
- class afe.backends.mpk.defines.PluginInputNodeMPKData[source]ο
Provides the information of the input node for plugin.
- class afe.backends.mpk.defines.PluginResourcesMPKData[source]ο
Provides information about resources used by plugin.
- which backend the resource belongs to.
- class afe.backends.mpk.defines.PluginMPKData[source]ο
Provides data containing all information needed to generate MPK JSON data for a single plugin.
- processor[source]ο
Execution processor for the plugin. It can be either βMLAβ, βEV74β or βA65β.
- type[source]ο
Plugin type. From the AFEβs perspective, it always has the value βsgpProcessβ.
- config_params: ConfigParamsMPKData[source]ο
- input_nodes: list[PluginInputNodeMPKData][source]ο
- output_nodes: list[InOutNodesMPKData][source]ο
- resources: PluginResourcesMPKData | None = None[source]ο
- class afe.backends.mpk.defines.AwesomeNetMPKData[source]ο
Provides data containing all information needed to generate the MPK JSON data for a single model.
- input_nodes[source]ο
An array of JSON objects providing information on the pipelineβs input nodes.
- plugins[source]ο
An array of JSON objects, each of which define an invocation of a plugin either on MLA, EV74 or A65.
- input_nodes: list[ModelInputMPKData] = [][source]ο
- plugins: list[PluginMPKData] = [][source]ο