- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for output_filename (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.cc
} return bytecode; } absl::StatusOr<std::string> ExportModule(ModuleOp module) { const std::string output_filename = tensorflow::io::GetTempFilename(".mlir"); std::string error_msg; auto output = openOutputFile(output_filename, &error_msg); if (output == nullptr) { return absl::UnknownError( absl::StrCat("Unable to open output path: ", error_msg)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc
} // namespace namespace mlir { namespace { // Dump the ModuleOp 'module' to the file specified using 'outputFileName' absl::Status ExportModule(ModuleOp module) { std::string error_msg; auto output = openOutputFile(output_filename, &error_msg); if (output == nullptr) { return absl::AbortedError( absl::StrCat("Unable to write to output path: ", error_msg)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc
} absl::Status ExportFlatbufferOrMlir(const std::string& output_filename, bool output_mlir, mlir::ModuleOp module, bool enable_select_tf_ops) { std::string error_msg; auto output = mlir::openOutputFile(output_filename, &error_msg); if (output == nullptr) { llvm::errs() << error_msg << '\n';
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 03:47:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.h
llvm::SourceMgr* source_mgr, mlir::MLIRContext* context); // Export the module to file, can be either mlir or flatbuffer. absl::Status ExportFlatbufferOrMlir(const std::string& output_filename, bool output_mlir, mlir::ModuleOp module, bool enable_select_tf_ops); } // namespace tac } // namespace TFL } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 03:47:03 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
} tensorflow::Status ExportModule(mlir::ModuleOp module, const std::string& output_filename, bool elide_large_elements_attrs) { std::string error_msg; auto output = mlir::openOutputFile(output_filename, &error_msg); if (output == nullptr) { llvm::errs() << error_msg << '\n';
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md
using '?' for unknown sizes. For example, `input-arg-shapes=1,2::1,?` expresses argument shapes `[1,2]`, `[]` and `[1,?]`. * `--e`: Elide large elements attrs while dumping the output StableHLO. * `--output_filename`: Path to the output file where the textual StableHLO MLIR module will be written (default: stdout). ### Examples * To convert [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/debugging/inspect/main.go
// Calculate the output file name var outputFileName string switch { case strings.HasSuffix(inputFileName, ".enc"): outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip" case strings.HasSuffix(inputFileName, ".zip"): outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip" case strings.Contains(inputFileName, ".enc."): outputFileName = strings.Replace(inputFileName, ".enc.", ".", 1) + ".zip"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h
// options. // TODO(jpienaar): Revise the command line option parsing here. extern llvm::cl::opt<std::string> input_file_name; extern llvm::cl::opt<std::string> output_file_name; extern llvm::cl::opt<bool> use_splatted_constant; extern llvm::cl::opt<bool> input_mlir; extern llvm::cl::opt<bool> output_mlir; extern llvm::cl::list<std::string> custom_opdefs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc
llvm::cl::desc("Names to export from SavedModel, separated by ','. Empty " "(the default) means export all."), llvm::cl::init("")); // NOLINTNEXTLINE opt<std::string> output_file_name("o", llvm::cl::desc("<output file>"), llvm::cl::value_desc("filename"), llvm::cl::init("-")); // NOLINTNEXTLINE opt<bool> use_splatted_constant(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 14K bytes - Viewed (0)