- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MlirModuleToString (0.5 sec)
-
tensorflow/compiler/mlir/python/mlir.cc
if (failed(pm.run(module))) { tsl::Set_TF_Status_from_Status(status, statusHandler.ConsumeStatus()); return "// error"; } } return MlirModuleToString(module, show_debug_info); } } // anonymous namespace static std::string ImportGraphDefImpl(const std::string& proto, const std::string& pass_pipeline,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.h
mlir::MLIRContext* context, bool unconditionally_use_set_output_shapes = false); // Serialize a MLIR module to a string. std::string MlirModuleToString(mlir::ModuleOp module, mlir::OpPrintingFlags flags); std::string MlirModuleToString(mlir::ModuleOp m, bool show_debug_info = false); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/mlir/mlir_transform.cc
auto get_string = [](Object self) { auto ref = self.Get<internal::Capsule>(String("_module")) ->cast<mlir::OwningOpRef<mlir::ModuleOp>*>(); return String(tensorflow::MlirModuleToString(ref->get(), false).c_str()); }; obj.Set(String("ToString"), Callable(TFLIB_CALLABLE_ADAPTOR(get_string))); return obj; } None SaveModule(Object self, Object module, String directory) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 12 16:28:19 UTC 2022 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} std::string MlirModuleToString(mlir::ModuleOp module, mlir::OpPrintingFlags flags) { std::string txt_module; { llvm::raw_string_ostream os{txt_module}; module.print(os, flags); } return txt_module; } std::string MlirModuleToString(mlir::ModuleOp module, bool show_debug_info) { mlir::OpPrintingFlags flags;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)