Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for getDependentDialects (0.64 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

               "output will be merged into the main function's `FetchOp`. The "
               "initializer functions will be removed after this pass.";
      }
    
      void runOnOperation() override;
    
     private:
      void getDependentDialects(DialectRegistry& registry) const override {
        registry
            .insert<TF::TensorFlowDialect, tf_executor::TensorFlowExecutorDialect,
                    tf_saved_model::TensorFlowSavedModelDialect>();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

      StringRef getArgument() const final { return "quant-raise-flex-fallback"; }
    
      StringRef getDescription() const final {
        return "Fallback TF-Quantization-unsupported ops to TFLite Flex ops.";
      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     private:
      // The mode of TF Quantization, might indicate different users/devices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top