- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 91 for registry_ (0.15 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
} private: void runOnOperation() override; void getDependentDialects(DialectRegistry ®istry) const override { mlir::mhlo::registerAllMhloDialects(registry); mlir::stablehlo::registerAllDialects(registry); registry.insert<mlir::func::FuncDialect, mlir::arith::ArithDialect>(); registry.insert<shape::ShapeDialect>(); } public: StringRef getArgument() const final { return "tf-mhlo"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.cc
options.enable_inliner = true; options.legalize_to_tflite_ops = true; mlir::TFL::tac::TacModule tac_module(options); mlir::DialectRegistry registry; mlir::RegisterAllTensorFlowDialects(registry); tac_module.RegisterExtraDialects(registry); tac_module.SetImporter(CreateTfLiteImporter(model_file_path)); tac_module.SetExporter( CreateTfLiteExporter(model_output_path, options.hardware_backends));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.cc
TPUEmbeddingOpsRegistry::GetOpsTypeIds() { return ops_type_ids_; } // static TPUEmbeddingOpsRegistry& TPUEmbeddingOpsRegistry::Global() { static TPUEmbeddingOpsRegistry* registry = new TPUEmbeddingOpsRegistry; return *registry; } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 05:42:28 UTC 2022 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.h
namespace mlir { namespace tf_saved_model { // Create a pass that removes function arguments that map to global tensors. std::unique_ptr<Pass> CreateLowerGlobalsToMlProgramPass(); // Register this pass in the global registry of MLIR. void RegisterLowerGlobalsToMlProgramPass(); } // namespace tf_saved_model } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 14:17:18 UTC 2022 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/order_by_dialect.h
namespace mlir { namespace TF { // Create an instance of a pass that reorders ops so ops of the same dialect are // next to each other. std::unique_ptr<Pass> CreateOrderByDialectPass(); // Register this pass in the global registry of MLIR. void RegisterOrderByDialectPass(); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 14:17:18 UTC 2022 - 1.2K bytes - Viewed (0) -
tensorflow/c/experimental/pluggable_profiler/pluggable_profiler_internal.h
using TFInitProfilerFn = void (*)(TF_ProfilerRegistrationParams* const, TF_Status* const); // Registers plugin's profiler to TensorFlow's profiler registry. Status InitPluginProfiler(TFInitProfilerFn init_fn); } // namespace profiler } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc
LegalizeTFToQuant(const LegalizeTFToQuant &) {} /// Performs the lowering to Quant ops dialect. void runOnOperation() override; void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<quant::QuantizationDialect, quantfork::QuantizationForkDialect>(); } StringRef getArgument() const final { // This is the argument used to refer to the pass in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api_wrapper.cc
tflite::RegisterCustomOpdefs(custom_opdefs_txt_raw.ptr())); }, py::arg("custom_opdefs_txt_raw"), R"pbdoc( Registers the given custom opdefs to the TensorFlow global op registry. )pbdoc"); m.def( "RetrieveCollectedErrors", []() { std::vector<std::string> collected_errors = tflite::RetrieveCollectedErrors();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 18:18:30 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc
"allowlist) as select Tensorflow ops"), llvm::cl::init(false)); // The following approach allows injecting opdefs in addition // to those that are already part of the global TF registry to be linked in // prior to importing the graph. The primary goal is for support of custom ops. // This is not intended to be a general solution for custom ops for the future
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils_test.cc
void Register(const std::string& op_name, OpRegistry* registry) { registry->Register([op_name](OpRegistrationData* op_reg_data) -> Status { op_reg_data->op_def.set_name(op_name); return absl::OkStatus(); }); } } // namespace TEST(TfTextUtilsTest, TestTfTextRegistered) { std::unique_ptr<OpRegistry> registry(new OpRegistry); Register("WhitespaceTokenizeWithOffsets", registry.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:14:37 UTC 2024 - 1.7K bytes - Viewed (0)