- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for sourceMgrHandler (0.23 sec)
-
tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc
llvm::SMLoc()); auto module = mlir::parseSourceFile<mlir::ModuleOp>(source_mgr, &ctx); if (!module) { return false; } mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &ctx); if (failed(mlir::verify(*module))) { module->emitError("Invalid MLIR module: failed verification."); return false; } return true; });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 13 06:54:12 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
context_.loadAllAvailableDialects(); return absl::OkStatus(); } Status LegalizeSingleOp(Operation& op) { SourceMgrDiagnosticHandler sourceMgrHandler(source_manager_, &context_); OpBuilder op_builder(&op); EmptyPatternRewriter pattern_rewriter(op_builder); LogicalResult result = Tf2XlaRewriter::RewriteOp(&op, pattern_rewriter,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
mlir::DialectRegistry registry; mlir::func::registerAllExtensions(registry); MLIRContext context(registry); llvm::SourceMgr source_mgr; mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context); if (input_mlir) { // TODO(@zichuanwei): hack to enable mlir conversion via this tool, will get // back to do it properly in the future mlir::DialectRegistry registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
mlir::quant::RegisterOps(); MLIRContext context(registry); context.loadAllAvailableDialects(); llvm::SourceMgr source_mgr; SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context); auto verbose_dir = llvm::sys::path::parent_path(output_path).str(); const char* type_set[] = {"tflite", "mlir"}; bool found = std::find(std::begin(type_set), std::end(type_set),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0)