Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getDependentDialects (0.34 sec)

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

    class XlaCallModuleDeserializationPass
        : public impl::XlaCallModuleDeserializationPassBase<
              XlaCallModuleDeserializationPass> {
     public:
      void getDependentDialects(mlir::DialectRegistry &registry) const override {
        XlaCallModuleDeserializationPassBase::getDependentDialects(registry);
        mlir::func::registerAllExtensions(registry);
      }
    
      void runOnOperation() override {
        ModuleOp module = getOperation();
    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/quantization/tensorflow/passes/prepare_quantize_drq.cc

    // Applies prepare quantization on the model in TF dialect for dynamic range
    // quantization case.
    class PrepareQuantizeDRQPass
        : public PassWrapper<PrepareQuantizeDRQPass, OperationPass<ModuleOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, ::mlir::quant::QuantizationDialect,
                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

      StringRef getArgument() const final { return "constant-fold-broadcast-pass"; }
      StringRef getDescription() const final {
        return "Constant folds BroadcastInDimOp before binary elementwise ops";
      }
      void getDependentDialects(::mlir::DialectRegistry &registry) const override {}
    
      void runOnOperation() override {
        RewritePatternSet patterns(&getContext());
        patterns.add<FoldBroadcastInDimBeforeMulOp>(&getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. 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)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

     public:
      StringRef getArgument() const final { return "unfuse-mhlo-batch-norm-pass"; }
      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>();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Insert custom aggregation ops for the calibration procedure";
      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
      void runOnOperation() override;
    
     private:
      enum TestCase {
        TEST_CASE_MIN_MAX,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

    // passes. Currently, per-channel quantization only supports 1D results.
    class PreprocessOpPass
        : public PassWrapper<PreprocessOpPass, OperationPass<ModuleOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, QuantizationDialect,
                        quantfork::QuantizationForkDialect>();
      }
    
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Apply graph optimizations such as fusing and constant folding to "
               "prepare lifting.";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, arith::ArithDialect>();
      }
    
      void runOnOperation() override;
    
     private:
      Option<OpSet> op_set_{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    struct DecomposeReduceDatasetPass
        : public impl::DecomposeReduceDatasetPassBase<DecomposeReduceDatasetPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<tf_device::TensorFlowDeviceDialect>();
      }
    
      void runOnOperation() override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

    struct ReduceWhileOperandsPass
        : public impl::ReduceWhileOperandsPassBase<ReduceWhileOperandsPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceWhileOperandsPass)
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect, TF::TensorFlowDialect>();
      }
      void runOnOperation() override;
    };
    
    LogicalResult FindImplicityProducers(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top