Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for MhloDialect (0.39 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc

      registry.insert<mlir::func::FuncDialect, mlir::stablehlo::StablehloDialect,
                      mlir::TFL::TFLDialect, mlir::arith::ArithDialect,
                      mlir::TF::TensorFlowDialect, mlir::chlo::ChloDialect>();
    
      return failed(
          mlir::MlirOptMain(argc, argv, "ODML Converter Driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets_test.cc

      registry.insert<func::FuncDialect>();
      registry.insert<tensor::TensorDialect>();
      registry.insert<shape::ShapeDialect>();
      registry.insert<TF::TensorFlowDialect>();
      registry.insert<chlo::ChloDialect>();
    
      return registry;
    }
    
    class XlaLegalizeTargetsTest : public testing::Test {
     public:
      XlaLegalizeTargetsTest()
          : context_(GetDefaultDialectRegistry()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc

                      mlir::quantfork::QuantizationForkDialect,
                      mlir::stablehlo::StablehloDialect,
                      mlir::tf_executor::TensorFlowExecutorDialect,
                      mlir::vhlo::VhloDialect>();
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::func::registerAllExtensions(registry);
      return failed(
          mlir::MlirOptMain(argc, argv, "StableHLO quant Pass Driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 07:37:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

          registry.insert<TFL::TensorFlowLiteDialect>();
          registry.insert<arith::ArithDialect>();
          registry.insert<func::FuncDialect>();
          registry.insert<mlir::vhlo::VhloDialect>();
          registry.insert<mlir::stablehlo::StablehloDialect>();
        });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

                      mlir::quantfork::QuantizationForkDialect,
                      mlir::TFL::TensorFlowLiteDialect, mlir::TF::TensorFlowDialect,
                      mlir::stablehlo::StablehloDialect, mlir::vhlo::VhloDialect>();
      mlir::func::registerAllExtensions(registry);
      context->appendDialectRegistry(registry);
    
      context->loadDialect<
          mlir::arith::ArithDialect, mlir::func::FuncDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        tfl_dialect_ = module.getContext()
                           ->getOrLoadDialect<mlir::TFL::TensorFlowLiteDialect>();
        vhlo_dialect_ =
            module.getContext()->getOrLoadDialect<mlir::vhlo::VhloDialect>();
        // Right now the TF executor dialect is still needed to build NodeDef.
        module.getContext()
            ->getOrLoadDialect<mlir::tf_executor::TensorFlowExecutorDialect>();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top