- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for emit_builtin_tflite_ops (0.31 sec)
-
tensorflow/compiler/mlir/lite/common/tfl_pass_config.h
struct PassConfig { explicit PassConfig(quant::QuantizationSpecs specs) : quant_specs(std::move(specs)) {} // If `emit_builtin_tflite_ops` is true, TF Lite legalization passes will be // added, which produces TF Lite ops. bool emit_builtin_tflite_ops = true; // If `lower_tensor_list_ops` is true, tensorlist ops will be lowered to basic // TF ops before legalization to TF Lite dialect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_translate.h
bool emit_builtin_tflite_ops, bool emit_select_tf_ops, bool emit_custom_ops); // Same as the above but with a custom op name mapper. bool MlirToFlatBufferTranslateFunction( mlir::ModuleOp module, std::string* serialized_flatbuffer, bool emit_builtin_tflite_ops, bool emit_select_tf_ops, bool emit_custom_ops,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 14:25:57 UTC 2022 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.cc
TF_ASSIGN_OR_RETURN( auto module, ConvertGraphdefToMlir(input, debug_info, specs, &context)); mlir::TFL::PassConfig pass_config(quant_specs); bool emit_builtin_tflite_ops = !toco_flags.force_select_tf_ops(); pass_config.emit_builtin_tflite_ops = emit_builtin_tflite_ops; pass_config.unfold_batch_matmul = toco_flags.unfold_batchmatmul(); pass_config.lower_tensor_list_ops = toco_flags.lower_tensor_list_ops();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.cc
TF_RETURN_IF_ERROR(internal::RegisterAllCustomOps(toco_flags)); mlir::TFL::PassConfig pass_config(quant_specs); bool emit_builtin_tflite_ops = !toco_flags.force_select_tf_ops(); pass_config.emit_builtin_tflite_ops = emit_builtin_tflite_ops; pass_config.enable_tflite_variables = toco_flags.enable_tflite_resource_variables(); pass_config.unfold_batch_matmul = toco_flags.unfold_batchmatmul();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_translate.cc
"List of output tensors, if different from the default outputs"), llvm::cl::init("")); using llvm::cl::opt; // These command line flags enable control of the translation implementation. bool emit_builtin_tflite_ops; bool emit_custom_ops; bool emit_select_tf_ops; bool lower_tensor_list_ops; bool strip_debug_info; bool use_buffer_offset; bool emit_stablehlo_ops; bool disable_vhlo_to_stablehlo; // NOLINTNEXTLINE
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h
#define TENSORFLOW_COMPILER_MLIR_LITE_FLATBUFFER_EXPORT_FLAGS_H_ #include <string> // These flags are used to control the emission or not of different kinds of ops // during the flatbuffer translation. extern bool emit_builtin_tflite_ops; extern bool emit_select_tf_ops; extern bool emit_custom_ops; // The flag to control whether to lower tensorlist ops into TF ops. extern bool lower_tensor_list_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 20 17:49:09 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h
#define TENSORFLOW_COMPILER_MLIR_LITE_FLATBUFFER_TRANSLATE_FLAGS_H_ #include <string> // These flags are used to control the emission or not of different kinds of ops // during the flatbuffer translation. extern bool emit_builtin_tflite_ops; extern bool emit_select_tf_ops; extern bool emit_custom_ops; // The flag to control whether to lower tensorlist ops into TF ops. extern bool lower_tensor_list_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 23 05:49:32 UTC 2020 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.h
#include "tensorflow/lite/toco/toco_flags.pb.h" namespace tflite { // Options for exporting to Flatbuffer. struct FlatbufferExportOptions { // TocoFlags proto. The following fields are migrated. // bool emit_builtin_tflite_ops -> !toco_flags.force_select_tf_ops() // bool emit_select_tf_ops -> toco_flags.enable_select_tf_ops() // bool emit_custom_ops -> toco_flags.allow_custom_ops()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 09 02:51:43 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc
// Convert to flatbuffer. std::string serialized_flatbuffer; tflite::FlatbufferExportOptions options; options.toco_flags.set_force_select_tf_ops(!emit_builtin_tflite_ops); options.toco_flags.set_enable_select_tf_ops(emit_select_tf_ops); options.toco_flags.set_allow_custom_ops(emit_custom_ops); if (!tflite::MlirToFlatBufferTranslateFunction(module.get(), options,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 6.3K bytes - Viewed (0)