Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FlatbufferExportOptions (0.26 sec)

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

        return absl::InternalError(absl::StrCat(
            "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);
    
    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);
    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

        LOG(ERROR) << "Failed to quantize: " << err;
        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);
    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

        const std::string err(statusHandler.ConsumeStatus().message());
        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);
    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/flatbuffer_export.cc

      }
      return control_edges;
    }
    
    }  // namespace
    
    namespace tflite {
    
    bool MlirToFlatBufferTranslateFunction(mlir::ModuleOp module,
                                           const FlatbufferExportOptions& options,
                                           std::string* serialized_flatbuffer,
                                           bool serialize_stablehlo_ops) {
      auto maybe_translated = Translator::Translate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
Back to top