Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for loadAllAvailableDialects (0.28 sec)

  1. tensorflow/compiler/mlir/lite/debug/debug_test.cc

              registry.insert<mlir::func::FuncDialect>();
              registry.insert<mlir::TFL::TensorFlowLiteDialect>();
              return registry;
            }()) {
        context_.loadAllAvailableDialects();
    
        mlir::OpBuilder builder(&context_);
        module_ = builder.create<mlir::ModuleOp>(builder.getUnknownLoc());
    
        builder.setInsertionPointToStart(module_->getBody());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

        dialects.insert<mlir::BuiltinDialect, mlir::func::FuncDialect,
                        mlir::stablehlo::StablehloDialect>();
        ctx_ = std::make_unique<mlir::MLIRContext>(dialects);
        ctx_->loadAllAvailableDialects();
      }
    
      void TearDown() override {
        // Delete files in the test directory.
        std::vector<std::string> files;
        TF_ASSERT_OK(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

                      mlir::TFR::TFRDialect>();
      // clang-format on
      mlir::func::registerAllExtensions(registry);
      mlir_ctx->appendDialectRegistry(registry);
      mlir_ctx->loadAllAvailableDialects();
    
      // Load the TFR functions in a mlir::ModuleOp
      auto memory_buffer = llvm::MemoryBuffer::getMemBuffer(
          llvm::StringRef(tfr_raw_text.data(), tfr_raw_text.size()));
      llvm::SourceMgr source_mgr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top