- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for openInputFile (0.14 sec)
-
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
&bundle); } else if (import_hlo) { // HLO import path. std::string error; std::unique_ptr<llvm::MemoryBuffer> buffer = mlir::openInputFile(input_file_name, &error); if (buffer == nullptr) { llvm::errs() << "Cannot open input file: " << input_file_name << " " << error; return kTrFailure; }
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/python/mlir.cc
mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context); { mlir::Location loc = mlir::UnknownLoc::get(&context); std::string error; std::unique_ptr<llvm::MemoryBuffer> buffer = mlir::openInputFile(flatbuffer_file, &error); if (buffer == nullptr) { TF_SetStatus(status, TF_INVALID_ARGUMENT, ("Unable to load input file " + error).c_str()); return; }
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/lite/tf_to_tfl_flatbuffer.cc
absl::string_view control_output_arrays, llvm::SourceMgr* source_mgr, MLIRContext* context) { // Set up the input file. std::string error_message; auto file = mlir::openInputFile(input_filename, &error_message); if (!file) { return absl::InvalidArgumentError( absl::StrCat("Failed to open input file: ", error_message)); } if (input_mlir) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0)