Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.lite.TargetSpec

TensorFlow 2.0 version View source on GitHub

Class TargetSpec

Specification of target device.

Aliases:

  • Class tf.compat.v1.lite.TargetSpec
  • Class tf.compat.v2.lite.TargetSpec

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

Attributes:

  • supported_ops: Experimental flag, subject to change. Set of OpsSet options supported by the device. (default set([OpsSet.TFLITE_BUILTINS]))

__init__

View source

__init__(supported_ops=None)