Get TargetPlatformCapabilities for tpc version

model_compression_toolkit.get_target_platform_capabilities(tpc_version=TPC_V1_0, device_type=IMX500_TP_MODEL)

Retrieves target platform capabilities model based on tpc version and the specified device type.

Return type:

TargetPlatformCapabilities

Parameters:
  • tpc_version (str) – Target platform capabilities version.

  • device_type (str) – The type of device for the target platform.

Returns:

The TargetPlatformCapabilities object matching the tpc version.

Note

For now, some fields of OpQuantizationConfig are ignored during the optimization process such as quantization_preserving, fixed_scale, and fixed_zero_point.

  • MCT will use more information from OpQuantizationConfig, in the future.