Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for force_select_tf_ops (0.93 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.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()
      // bool allow_all_select_tf_ops  -> toco_flags.allow_all_select_tf_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)
  2. 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)
  3. 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();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

        TF_RETURN_IF_ERROR(HandleInputOutputArraysWithModule(model_flags, &module));
      }
    
      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();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

          toco_flags.tf_quantization_mode().empty()) {
        // TODO(haoliang): Add this pass by default.
        pass_manager->addPass(mlir::TFL::CreateLowerStaticTensorListPass(
            /*allow_tensorlist_pass_through=*/toco_flags.force_select_tf_ops() ||
                toco_flags.enable_select_tf_ops(),
            /*default_to_single_batch=*/
            toco_flags.default_to_single_batch_in_tensor_list_ops(),
            /*enable_dynamic_update_slice=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // The first buffer must be empty according to the schema definition.
        empty_buffer_ = tflite::CreateBuffer(builder_);
        buffers_.push_back(empty_buffer_);
        if (!toco_flags.force_select_tf_ops()) {
          enabled_op_types_.emplace(OpType::kTfliteBuiltin);
        }
        if (toco_flags.enable_select_tf_ops()) {
          enabled_op_types_.emplace(OpType::kSelectTf);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top