- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 112 for registry_ (0.1 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc
EXPECT_EQ(non_categorized_count, 428); } // Just a counter test to see which ops have duplicate lowerings. This isn't a // correctness test versus a test to easily ensure the op registry is kept // in sync. TEST_F(LegalizationOpConfigTest, CountTypesWhichHaveBothMlirAndTf2xlaFallback) { int double_lowering_count = 0; DialectRegistry dialect_registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 03:31:01 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
setattr(_current_module, "initializers", _initializers) # Do an eager load for Keras' code so that any function/method that needs to # happen at load time will trigger, eg registration of optimizers in the # SavedModel registry. # See b/196254385 for more details. try: if _tf_uses_legacy_keras: importlib.import_module("tf_keras.src.optimizers") else: importlib.import_module("keras.src.optimizers")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 06:27:59 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
return "Replace quantization candidates with composite functions into the " "module for post-training dynamic range case"; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } void runOnOperation() override; private: Option<OpSet> target_opset_{ *this, "target-opset", llvm::cl::init(OpSet::TF),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc
StringRef getDescription() const final { // This is a brief description of the pass. return "Insert quantized functions into the module"; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect, func::FuncDialect>(); } private: void runOnOperation() override; // Returns the function library for the given quantization method and opset // pair.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h
// name should be unique to the graph it is being inserted to. If the // `ignore_unregistered_attrs` argument is set to true, the attributes which are // not in the op registry will be ignored. If the `ignore_unregistered_attrs` // argument is not set to true, _output_shapes attribute is added to nodes with // ShapedType for the leading values with ShapedType in the results of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
// Explicitly disable dumping Op details on failures. module.getContext()->printOpOnDiagnostic(false); mlir::DialectRegistry registry; mlir::func::registerAllExtensions(registry); module.getContext()->appendDialectRegistry(registry); mlir::StatusScopedDiagnosticHandler status_handler(module.getContext(), /*propagate=*/true);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
PyExc_ValueError, "Failed to parse opdefs at index %d of custom op defs argument: %s", i, tf_opdefs); return nullptr; } // Register extra opdefs to TensorFlow global op registry. tensorflow::OpRegistry::Global()->Register( [opdef]( tensorflow::OpRegistrationData* op_reg_data) -> tensorflow::Status { *op_reg_data = tensorflow::OpRegistrationData(opdef);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
public: explicit TPUClusterFormationPass(bool strict_clusters) : strict_clusters_(strict_clusters) {} void getDependentDialects(DialectRegistry& registry) const override { registry.insert<mlir::tf_device::TensorFlowDeviceDialect>(); } void runOnOperation() override; private: bool strict_clusters_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
// This is a brief description of the pass. return "Replace quantization candidates with composite functions into the " "module"; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } void runOnOperation() override; private: QuantizationOptions quant_options_; bool test_mode_; Option<OpSet> op_set_{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
// This is a brief description of the pass. return "Quantize composite functions with QDQ input/outputs."; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect, quant::QuantizationDialect, quantfork::QuantizationForkDialect>(); } private: void runOnOperation() override;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0)