tf.lite.TargetSpec

Specification of target device.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.lite.TargetSpec

Details about target device. Converter optimizes the generated model for specific device.

supported_ops Experimental flag, subject to change. Set of OpsSet options supported by the device. (default set([OpsSet.TFLITE_BUILTINS]))
supported_types List of types for constant values on the target device. Frequently, an optimization choice is driven by the most compact (i.e. smallest) type in this list (default [tf.float32])