|TensorFlow 1 version||View source on GitHub|
Specification of target device used to optimize the model.
Compat aliases for migration
See Migration guide for more details.
tf.lite.TargetSpec( supported_ops=None, supported_types=None, experimental_select_user_tf_ops=None, experimental_supported_backends=None )
Used in the notebooks
|Used in the guide|
Experimental flag, subject to change. Set of
||Experimental flag, subject to change. Set of user's TensorFlow operators' names that are required in the TensorFlow Lite runtime. These ops will be exported as select TensorFlow ops in the model (in conjunction with the tf.lite.OpsSet.SELECT_TF_OPS flag). This is an advanced feature that should only be used if the client is using TF ops that may not be linked in by default with the TF ops that are provided when using the SELECT_TF_OPS path. The client is responsible for linking these ops into the target runtime.|
||Experimental flag, subject to change. Set containing names of supported backends. Currently only "GPU" is supported, more options will be available later.|