Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MhloDialect (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

               "Whether to serialize TPUCompileMetadataProto metadata in 'tf._TPUCompileMlir' op as a proto debug string">
      ];
    
      let dependentDialects = [
        "mlir::mhlo::MhloDialect",
        "mlir::tf_device::TensorFlowDeviceDialect"
      ];
      let constructor = "mlir::TFTPU::CreateTPURewritePass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    namespace mlir {
    namespace quant {
    class QuantizationDialect;
    }
    namespace quantfork {
    class QuantizationForkDialect;
    }
    namespace mhlo {
    class MhloDialect;
    }
    namespace TF {
    class TensorFlowDialect;
    }
    namespace TFL {
    class TFLDialect;
    typedef TFLDialect TensorFlowLiteDialect;
    }  // namespace TFL
    namespace func {
    class FuncOp;
    }
    class ModuleOp;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      MLIRContext *ctx = &getContext();
      func::FuncOp func = getOperation();
      ConversionTarget target(*ctx);
      target.addLegalDialect<TF::TensorFlowDialect, mhlo::MhloDialect,
                             chlo::ChloDialect>();
      target.addIllegalOp<
          TF::UniformQuantizeOp, TF::UniformRequantizeOp, TF::UniformDequantizeOp,
          TF::UniformQuantizedDotOp, TF::UniformQuantizedDotHybridOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.td

      let constructor = "CreatePrepareTFPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect",
        "mlir::quant::QuantizationDialect",
        "mlir::quantfork::QuantizationForkDialect",
        "mhlo::MhloDialect"
      ];
      let options = [
          Option<"unfold_batch_matmul_", "unfold_batchmatmul",
                 "bool", "true",
                 "Unfold BatchMatMul into individual MatMul ops.">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

    class ConvertTfQuantToMhloIntTest : public Test {
     protected:
      void SetUp() override {
        DialectRegistry dialects;
        dialects.insert<TF::TensorFlowDialect, func::FuncDialect, chlo::ChloDialect,
                        mhlo::MhloDialect, quant::QuantizationDialect>();
        ctx_ = std::make_unique<MLIRContext>(dialects);
        ctx_->loadAllAvailableDialects();
    
        // Create a CPU client with 1 device.
        TF_ASSERT_OK_AND_ASSIGN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

     public:
      StablehloToOdmlTypeConverter() : vhlo::VhloTypeConverter() {
        addConversion([](Type type) {
          if (type.getDialect().getNamespace() ==
              vhlo::VhloDialect::getDialectNamespace()) {
            return type;
          }
          LLVM_DEBUG(llvm::dbgs() << "Invalid type: " << type << '\n');
          return Type();
        });
        addConversion([](stablehlo::TokenType token) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

     public:
      StablehloVhloTypeConverter() : mlir::vhlo::VhloTypeConverter() {
        addConversion([](mlir::Type type) -> mlir::Type {
          if (type.getDialect().getNamespace() ==
              mlir::vhlo::VhloDialect::getDialectNamespace()) {
            return type;
          }
          return {};
        });
        addConversion([](mlir::stablehlo::TokenType token) -> mlir::Type {
          return mlir::vhlo::TokenV1Type::get(token.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

        return "Legalize TF_XlaCallModule Op to stablehlo";
      }
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<stablehlo::StablehloDialect, vhlo::VhloDialect,
                        quant::QuantizationDialect, shape::ShapeDialect>();
      }
    
      void runOnOperation() override {
        ModuleOp module_op = getOperation();
        RewritePatternSet patterns(&getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

    def MergeFusionWithDequantizePass : Pass<"stablehlo-merge-fusion-with-dequantize", "mlir::ModuleOp"> {
      let summary = "Merge quantized conv/dot_general fusion with subsequent dequantize.";
      let dependentDialects = [
        "chlo::ChloDialect",
        "mlir::stablehlo::StablehloDialect",
      ];
    }
    
    def UnwrapXlaCallModuleOpPass : Pass<"stablehlo-unwrap-xla-call-module-op", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top