Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for set_force_select_tf_ops (0.37 sec)

  1. tensorflow/compiler/mlir/lite/sparsity/sparsify_model.cc

            "Failed to sparsify: ", statusHandler.ConsumeStatus().message()));
      }
    
      // Export the results to the builder
      std::string result;
      tflite::FlatbufferExportOptions options;
      options.toco_flags.set_force_select_tf_ops(false);
      options.toco_flags.set_enable_select_tf_ops(true);
      options.toco_flags.set_allow_custom_ops(true);
    
      // Copy metadata for Reduced Precision Support from input model if it exists
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

      std::string result;
      if (output_mlir) {
        llvm::raw_string_ostream os(result);
        module.print(os);
        os.flush();
      } else {
        tflite::FlatbufferExportOptions options;
        options.toco_flags.set_force_select_tf_ops(false);
        options.toco_flags.set_allow_custom_ops(true);
        if (enable_select_tf_ops) {
          options.toco_flags.set_enable_select_tf_ops(true);
          options.toco_flags.set_allow_all_select_tf_ops(true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc

        return kTfLiteError;
      }
    
      // Export the results to the builder
      std::string result;
      tflite::FlatbufferExportOptions options;
      options.toco_flags.set_force_select_tf_ops(false);
      options.toco_flags.set_enable_select_tf_ops(true);
      options.toco_flags.set_allow_custom_ops(true);
      if (!tflite::MlirToFlatBufferTranslateFunction(module.get(), options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

        LOG(ERROR) << "Failed to quantize: " << err;
        return kTfLiteError;
      }
    
      // Export the results.
      tflite::FlatbufferExportOptions options;
      options.toco_flags.set_force_select_tf_ops(false);
      options.toco_flags.set_enable_select_tf_ops(true);
      options.toco_flags.set_allow_custom_ops(true);
      if (!tflite::MlirToFlatBufferTranslateFunction(module.get(), options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc

        LOG(QFATAL) << "NYI: Only nullary functions supported.";
    
      // 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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

      } else {
        op_or_arg_name_mapper =
            std::make_unique<tensorflow::OpOrArgLocNameMapper>();
      }
      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);
      options.toco_flags.set_use_buffer_offset(use_buffer_offset);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

      pass_config.disable_hlo_to_tfl_conversion = disable_hlo_to_tfl_conversion;
      pass_config.reduce_type_precision = reduce_type_precision;
    
      toco::TocoFlags toco_flags;
      toco_flags.set_force_select_tf_ops(!emit_builtin_tflite_ops);
      toco_flags.set_enable_select_tf_ops(emit_select_tf_ops);
      toco_flags.set_allow_custom_ops(emit_custom_ops);
      toco_flags.set_allow_all_select_tf_ops(allow_all_select_tf_ops);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top