- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 548 for tflite (0.18 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_translate.cc
bool use_buffer_offset; bool emit_stablehlo_ops; bool disable_vhlo_to_stablehlo; // NOLINTNEXTLINE static opt<bool, true> emit_builtin_tflite_ops_flag( "emit-builtin-tflite-ops", llvm::cl::desc( "Emit TFLite built in operations in the generated TFLite model"), llvm::cl::location(emit_builtin_tflite_ops), llvm::cl::init(true)); // NOLINTNEXTLINE static opt<bool, true> emit_select_tf_ops_flag(
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/converter_gen.cc
} } } os << " tflite::" << tflite_option_name << "Builder b(*fbb);\n"; for (const auto &option : options) os << formatv(" b.add_{0}(std::move({0}));\n", option); os << " return b.Finish();\n}\n"; } } // For each TFLite op, emits a builder function that packs the TFLite op into // the corresponding FlatBuffer object. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.cc
[&]() {}); }); } }; } // namespace tflite::metrics::ConverterErrorData NewConverterErrorData( const std ::string& pass_name, const std::string& error_message, tflite::metrics::ConverterErrorData::ErrorCode error_code, const std::string& op_name, const Location& location) { using tflite::metrics::ConverterErrorData; ConverterErrorData error; if (!pass_name.empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tflite_import_export.h
#include <string> #include <vector> #include "absl/status/status.h" #include "llvm/Support/SourceMgr.h" #include "tensorflow/compiler/mlir/lite/experimental/tac/tac_importer_exporter.h" namespace mlir { namespace TFL { namespace tac { // TAC Importer for TFLite. // This import to MLIR from tflite file or MLIR class TfLiteImporter : public mlir::TFL::tac::TacImporter { public: // Options for configuring the importer.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.h
struct ConverterErrorDataComparison { std::size_t operator()( const tflite::metrics::ConverterErrorData& a, const tflite::metrics::ConverterErrorData& b) const noexcept { return ConverterErrorDataHash()(a) == ConverterErrorDataHash()(b); } }; // Helper function to create a new ConverterErrorData. tflite::metrics::ConverterErrorData NewConverterErrorData(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 16:09:28 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
using mlir::func::FuncOp; using tflite::OperatorT; using tflite::TensorT; namespace errors = tensorflow::errors; namespace tfl = mlir::TFL; namespace { constexpr char kScatterRegionFuncName[] = "update_computation_func_name"; using ::mlir::tf_saved_model::kTfSavedModelExportedNamesAttr; using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr; using ::tflite::IsValidBufferOffset;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_builtin.mlir
// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer -emit-builtin-tflite-ops=false %s 2>&1 | FileCheck %s // CHECK: 'tfl.add' op is a TFLite builtin op but builtin emission is not enabled func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> { ^bb0(%arg0: tensor<3x2xi32>): %0 = "arith.constant"() {name = "Const2", value = dense<10> : tensor<i32>} : () -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 07:31:32 UTC 2022 - 547 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
#include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h" #include "tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h" #include "tensorflow/compiler/mlir/lite/experimental/tac/runtime_metadata_generated.h" #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac.py
"""Target aware conversion for TFLite model.""" from tensorflow.compiler.mlir.lite.experimental.tac.py_wrapper import _pywrap_tac_wrapper def run_tac(model_path, targets, output_path): """Run target aware conversion for the given tflite model file. Args: model_path: Path to the tflite model file. targets: A list of string of the desired targets. E.g., ['GPU', 'CPU'].
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 21 01:22:53 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/common/tfl_pass_config.h
bool outline_tf_while = false; // Whether to do shape inference. bool shape_inference = true; // Whether to do TFLite runtime verification. bool runtime_verification = true; // Whether to enable TFLite variables or not, this will allow // mutable variables and produce ReadVariable/AssignVariable ops in TFLite. bool enable_tflite_variables = false; // Whether to disable the variable freezing pass or not.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 6.5K bytes - Viewed (0)