- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 99 for registry_ (0.09 sec)
-
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
// This is a brief description of the pass. return "Import quantization stats to the model"; } void runOnOperation() override; void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<quant::QuantizationDialect, quantfork::QuantizationForkDialect>(); } // Parses the serialized quant stats protobuf and initialize the internal
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
} return success(); } }; class LiftTfliteFlexOpsPass : public impl::LiftTfliteFlexOpsPassBase<LiftTfliteFlexOpsPass> { void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LiftTfliteFlexOpsPass) void runOnOperation() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
StringRef getDescription() const final { return "Unfuses MHLO batch norm inference op into arithmetic ops"; } void getDependentDialects(::mlir::DialectRegistry ®istry) const override { // TODO(b/299514833): Remove TensorFlowDialect usage. registry.insert<shape::ShapeDialect, mlir::TF::TensorFlowDialect>(); } void runOnOperation() override { RewritePatternSet patterns(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
StringRef getDescription() const final { // This is a brief description of the pass. return "Quantize weights used by quantizable ops."; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect, quant::QuantizationDialect>(); } private: void runOnOperation() override; bool test_mode_; tensorflow::quantization::QuantizationOptions quant_options_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K 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/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
StringRef getDescription() const final { // This is a brief description of the pass. return "Apply converting Tensorflow Xla ops to non-xla ops."; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect, arith::ArithDialect>(); } void runOnOperation() override; }; // Generate an einsum equation from the given DotDimensionNumber. std::string CreateEinsumEquation(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
class LegalizeTFGToTFE : public impl::LegalizeTFGToTFPassBase<LegalizeTFGToTFE> { void getDependentDialects(DialectRegistry ®istry) const override { RegisterAllTensorFlowDialects(registry); } void runOnOperation() override; }; } // namespace void LegalizeTFGToTFE::runOnOperation() { MLIRContext &context = getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K 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) -
tensorflow/compiler/mlir/lite/flatbuffer_translate.cc
MlirToFlatBufferFileTranslateFunction, [](DialectRegistry& registry) { registry.insert<quant::QuantizationDialect, quantfork::QuantizationForkDialect>(); mlir::RegisterAllTensorFlowDialects(registry); registry.insert<TFL::TensorFlowLiteDialect>(); registry.insert<arith::ArithDialect>(); registry.insert<func::FuncDialect>(); registry.insert<mlir::vhlo::VhloDialect>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 9.4K bytes - Viewed (0)