Home
last modified time | relevance | path

Searched refs:allow_custom_ops (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/tflite/
Dexport.h32 bool allow_custom_ops = false; member
53 inline void Export(const Model& model, bool allow_custom_ops, in Export() argument
56 params.allow_custom_ops = allow_custom_ops; in Export()
66 const Model& model, bool allow_custom_ops, bool quantize_weights, in Export() argument
70 params.allow_custom_ops = allow_custom_ops; in Export()
81 params.allow_custom_ops = true; in Export()
Dexport_test.cc251 params.allow_custom_ops = true; in TEST_F()
265 params.allow_custom_ops = true; in TEST_F()
284 params.allow_custom_ops = true; in TEST_F()
301 params.allow_custom_ops = false; in TEST_F()
325 params.allow_custom_ops = false; in TEST_F()
355 params.allow_custom_ops = false; in TEST_F()
383 params.allow_custom_ops = false; in TEST_F()
434 params_.allow_custom_ops = false; in SetAllowedOpSets()
447 params_.allow_custom_ops = true; in SetAllowedOpSets()
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer_test.py127 converter.allow_custom_ops = True
170 converter.allow_custom_ops = True
208 converter.allow_custom_ops = True
Dragged_tensor_to_tensor_test.py39 converter.allow_custom_ops = True
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc125 Flag("allow_custom_ops", parsed_flags.allow_custom_ops.bind(), in ParseTocoFlagsFromCommandLineFlags()
126 parsed_flags.allow_custom_ops.default_value(), in ParseTocoFlagsFromCommandLineFlags()
288 READ_TOCO_FLAG(allow_custom_ops, FlagRequirement::kNone); in ReadTocoFlagsFromCommandLineFlags()
Dtoco_tooling.h45 bool allow_custom_ops,
Dtoco_tooling.cc476 bool allow_custom_ops, in Export() argument
487 params.allow_custom_ops = allow_custom_ops; in Export()
Dtoco_convert.cc81 TF_RETURN_IF_ERROR(Export(toco_flags, *model, toco_flags.allow_custom_ops(), in Convert()
/external/tensorflow/tensorflow/lite/testing/
Dmlir_convert.py56 converter.allow_custom_ops = extra_convert_options.allow_custom_ops
/external/tensorflow/tensorflow/lite/python/
Dtflite_convert.py210 if flags.allow_custom_ops:
211 converter.allow_custom_ops = flags.allow_custom_ops
357 if flags.custom_opdefs and not flags.allow_custom_ops:
/external/tensorflow/tensorflow/lite/experimental/mlir/testing/
Dmlir_convert.py60 converter.allow_custom_ops = extra_toco_options.allow_custom_ops
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dmax_pool_with_argmax.py60 extra_convert_options.allow_custom_ops = True
Dirfft2d.py62 extra_convert_options.allow_custom_ops = True
Dpool3d.py70 extra_convert_options.allow_custom_ops = True
Dbroadcast_gradient_args.py61 extra_convert_options.allow_custom_ops = True
Droll.py127 extra_convert_options.allow_custom_ops = True
Dparse_example.py87 extra_convert_options.allow_custom_ops = True
/external/tensorflow/tensorflow/lite/experimental/mlir/testing/op_tests/
Dmax_pool_with_argmax.py64 extra_toco_options.allow_custom_ops = True
Dirfft2d.py66 extra_toco_options.allow_custom_ops = True
Ddense_image_warp.py57 extra_toco_options.allow_custom_ops = True
Dpool3d.py74 extra_toco_options.allow_custom_ops = True
Dbroadcast_gradient_args.py65 extra_toco_options.allow_custom_ops = True
Dparse_example.py91 extra_toco_options.allow_custom_ops = True
Droll.py131 extra_toco_options.allow_custom_ops = True
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos_test.py49 toco_flags.allow_custom_ops = True

12