- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for input_filename (0.45 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc
} template <class T> Status LoadProtoFromFileImpl(absl::string_view input_filename, T* proto) { const auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(StringViewToRef(input_filename)); if (std::error_code error = file_or_err.getError()) { return errors::InvalidArgument( "Could not open input file ", string(input_filename.data(), input_filename.size()).c_str()); } const auto& input_file = *file_or_err;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf_mlir_translate_main.cc
auto module_or = tensorflow::SavedModelSignatureDefsToMlirImportLite( input_filename, tags, exported_names, &context, import_options); if (!module_or.status().ok()) return 1; module_or.value()->print(output->os()); } else { auto input = mlir::openInputFile(input_filename, &error_message); if (!input) { llvm::errs() << error_message << "\n"; return 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc
absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportFlatbufferOrMlir( const std::string& input_filename, bool input_mlir, bool experimental_prune_unreachable_nodes_unconditionally, llvm::SourceMgr* source_mgr, mlir::MLIRContext* context) { std::string error; std::unique_ptr<llvm::MemoryBuffer> buffer = mlir::openInputFile(input_filename, &error); if (buffer == nullptr) { return absl::InvalidArgumentError(absl::StrFormat(
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/tensorflow/utils/import_utils.h
// are used, and will fail for protobuf::MessageLite protos. Status LoadProtoFromFile(absl::string_view input_filename, protobuf::Message* proto); Status LoadProtoFromFile(absl::string_view input_filename, protobuf::MessageLite* proto); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 06 09:43:41 UTC 2020 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc
llvm::cl::ParseCommandLineOptions(argc, argv, "MLIR TFLite runner\n"); auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(input_filename.c_str()); if (std::error_code error = file_or_err.getError()) { LOG(ERROR) << argv[0] << ": could not open input file '" << input_filename << "': " << error.message() << "\n"; return 1; } // Load the MLIR module. mlir::DialectRegistry registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h
// Setting prune_unused_nodes to true, would prune unreachable nodes if // output_arrays is specified. absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> LoadFromGraphdefOrMlirSource( const std::string& input_filename, bool input_mlir, bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs, const GraphImportConfig& specs, absl::string_view debug_info_file,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 08:30:24 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
} pass_manager.clear(); return mlir::success(); } } // namespace absl::StatusOr<OwningOpRef<ModuleOp>> LoadFromGraphdefOrMlirSource( const std::string& input_filename, bool input_mlir, bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs, const GraphImportConfig& specs, absl::string_view debug_info_file,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.h
namespace mlir { namespace TFL { namespace tac { // Import the file as mlir module, the input maybe flatbuffer or mlir file. absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportFlatbufferOrMlir( const std::string& input_filename, bool input_mlir, bool experimental_prune_unreachable_nodes_unconditionally, llvm::SourceMgr* source_mgr, mlir::MLIRContext* context); // Export the module to file, can be either mlir or flatbuffer.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 03:47:03 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/debugging/inspect/main.go
} } func processFile(inputFileName string, privateKey []byte) { // 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"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ArtifactFileTest.groovy
def "determines name and extension from file name #inputFileName with version #version"() { when: def artifactFile = new ArtifactFile(new File(inputFileName), version) then: artifactFile.name == name artifactFile.extension == extension artifactFile.classifier == null where: inputFileName | name | extension | version
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.4K bytes - Viewed (0)