Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for registry_ (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

              XlaCallModuleDeserializationPass> {
     public:
      void getDependentDialects(mlir::DialectRegistry &registry) const override {
        XlaCallModuleDeserializationPassBase::getDependentDialects(registry);
        mlir::func::registerAllExtensions(registry);
      }
    
      void runOnOperation() override {
        ModuleOp module = getOperation();
        SymbolTableCollection symbol_tables;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. 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 &registry) 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)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        return "This pass will legalize TFLite custom Ops to StableHLO ops.";
      }
    
     private:
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry& registry) const override {
        mlir::stablehlo::registerAllDialects(registry);
      }
      inline TFL::ConstBytesAttr CustomOption(OpBuilder* builder,
                                              const std::string& content) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      std::iota(input_mapping->begin(), input_mapping->end(), 0);
    }
    
    static void RegisterDialects(mlir::DialectRegistry& registry) {
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::stablehlo::registerAllDialects(registry);
    }
    
    // Checks if functions can be inlined after TF -> HLO legalization. Currently
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  5. 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 &registry) 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)
  6. 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)
  7. 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 &registry) 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)
  8. 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)
  9. 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)
  10. 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)
Back to top