Home
last modified time | relevance | path

Searched refs:target_spec (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/lite/python/
Dlite_flex_test.py60 converter.target_spec.supported_ops = set([lite.OpsSet.SELECT_TF_OPS])
91 self.assertEqual(converter.target_spec.supported_ops,
128 converter.target_spec.supported_ops = set([lite.OpsSet.SELECT_TF_OPS])
189 converter.target_spec.supported_ops = set([lite.OpsSet.SELECT_TF_OPS])
190 converter.target_spec.experimental_select_user_tf_ops = ['CustomAdd4']
208 converter.target_spec.supported_ops = set([lite.OpsSet.SELECT_TF_OPS])
209 converter.target_spec.experimental_select_user_tf_ops = ['Double']
Dtflite_convert.py190 converter.target_spec.supported_ops = set()
195 converter.target_spec.supported_ops.add(lite.OpsSet(option))
198 if lite.OpsSet.SELECT_TF_OPS not in converter.target_spec.supported_ops:
205 converter.target_spec.experimental_select_user_tf_ops = list(user_op_set)
215 converter.target_spec.supported_types = [dtypes.float16]
Dlite.py212 def __init__(self, optimizations, target_spec, representative_dataset, argument
215 self._target_spec = target_spec
434 self.target_spec = TargetSpec()
464 set([OpsSet.SELECT_TF_OPS]) == set(self.target_spec.supported_ops))
513 "target_ops": self.target_spec.supported_ops,
515 "select_user_tf_ops": self.target_spec.experimental_select_user_tf_ops,
626 quant_mode = QuantizationMode(self.optimizations, self.target_spec,
776 quant_mode = QuantizationMode(self.optimizations, self.target_spec,
1220 self.target_spec.supported_ops = value
1233 return self.target_spec.supported_ops
[all …]
Dlite_v2_test.py248 quantized_converter.target_spec.supported_ops = [
253 quantized_converter.target_spec.supported_ops = [
258 quantized_converter.target_spec.supported_ops = [
293 quantized_converter.target_spec.supported_ops = [
317 converter.target_spec.supported_ops = [lite.OpsSet.TFLITE_BUILTINS_INT8]
415 quantized_converter.target_spec.supported_ops = [
539 quantized_converter.target_spec.supported_ops = [
545 quantized_converter.target_spec.supported_ops = [
550 quantized_converter.target_spec.supported_ops = [
557 quantized_converter.target_spec.supported_ops = [
[all …]
Dlite_test.py347 quantized_converter.target_spec.supported_ops = [
353 quantized_converter.target_spec.supported_ops = [
358 quantized_converter.target_spec.supported_ops = [
364 quantized_converter.target_spec.supported_ops = [
945 quantized_converter.target_spec.supported_ops = supported_ops
1025 quantized_converter.target_spec.supported_types = [dtypes.int8]
1168 quantized_converter.target_spec.supported_types = [dtypes.float16]
1170 quantized_converter.target_spec.supported_types.append(dtypes.int8)
1213 quantized_converter.target_spec.supported_types = [dtypes.float16]
1215 quantized_converter.target_spec.supported_ops = [
[all …]
Dutil_test.py307 converter.target_spec.supported_ops = {tf.lite.OpsSet.TFLITE_BUILTINS_INT8}
309 converter.target_spec.supported_ops = {
/external/strace/tests/
Dioctl_dm.c76 struct dm_target_spec target_spec; member
363 s.u.ts.target_spec.sector_start = 0x10; in main()
364 s.u.ts.target_spec.length = 0x20; in main()
365 s.u.ts.target_spec.next = in main()
366 sizeof(s.u.ts.target_spec) + sizeof(s.u.ts.target_params); in main()
367 strcpy(s.u.ts.target_spec.target_type, "tgt"); in main()
/external/strace/tests-m32/
Dioctl_dm.c76 struct dm_target_spec target_spec; member
363 s.u.ts.target_spec.sector_start = 0x10; in main()
364 s.u.ts.target_spec.length = 0x20; in main()
365 s.u.ts.target_spec.next = in main()
366 sizeof(s.u.ts.target_spec) + sizeof(s.u.ts.target_params); in main()
367 strcpy(s.u.ts.target_spec.target_type, "tgt"); in main()
/external/strace/tests-mx32/
Dioctl_dm.c76 struct dm_target_spec target_spec; member
363 s.u.ts.target_spec.sector_start = 0x10; in main()
364 s.u.ts.target_spec.length = 0x20; in main()
365 s.u.ts.target_spec.next = in main()
366 sizeof(s.u.ts.target_spec) + sizeof(s.u.ts.target_params); in main()
367 strcpy(s.u.ts.target_spec.target_type, "tgt"); in main()
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_quantization_test.py99 converter.target_spec.supported_types = [dtypes.float16]
111 converter.target_spec.supported_ops = [
Dmodel_coverage_lib.py140 converter.target_spec.supported_ops = kwargs["target_ops"]
144 converter.target_spec.supported_types = [dtypes.float16]
148 converter.target_spec.supported_ops = [_lite.OpsSet.TFLITE_BUILTINS_INT8]
155 converter.target_spec.supported_ops = \
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer_test.py126 converter.target_spec.supported_ops = supported_ops
169 converter.target_spec.supported_ops = supported_ops
207 converter.target_spec.supported_ops = supported_ops
/external/tensorflow/tensorflow/lite/testing/
Dtoco_convert.py140 converter.target_spec.supported_ops = [
145 converter.target_spec.supported_ops = [
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dpost_training_quantization.md121 <b>converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]</b>
140 converter.target_spec.supported_types = [tf.float16]</b>
175 converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT1…
181 The following option should be added to the target_spec to allow this.
187 converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT1…
Dpost_training_float16_quant.ipynb258 "converter.target_spec.supported_types = [tf.float16]"
Dpost_training_integer_quant_16x8.ipynb274 …"converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_IN…
Dpost_training_integer_quant.ipynb372 "converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]\n",
/external/tensorflow/tensorflow/lite/micro/testing/
Dgenerate_test_models.py65 converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dapi_updates.md28 * Renamed the `target_ops` attribute to `target_spec.supported_ops`
/external/tensorflow/tensorflow/lite/tools/optimize/python/
Dmodify_model_interface_lib_test.py50 converter.target_spec.supported_ops = [supported_ops]
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dop_select_allowlist.md722 converter.target_spec.supported_ops = [
747 converter.target_spec.supported_ops = [
750 converter.target_spec.experimental_select_user_tf_ops = [
Dops_select.md30 converter.target_spec.supported_ops = [
/external/tensorflow/tensorflow/lite/experimental/quantization_debugger/
Ddebugger_test.py64 converter.target_spec.supported_ops = [lite.OpsSet.TFLITE_BUILTINS_INT8]
DREADME.md43 converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dngrams_test.py103 converter.target_spec.supported_ops = [

12