- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for writeStringToFile (0.23 sec)
-
tensorflow/compiler/aot/compile.cc
TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_metadata_object, metadata_result.object_file_data)); string header; TF_RETURN_IF_ERROR(GenerateHeader(codegen_opts, config, compile_result, metadata_result, &header)); TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_header, header)); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 08:28:57 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc
HasSubstr("Failed to create tmp dir"))); } TEST(IoTest, WriteStringToFile) { const std::string dst_file_path = absl::StrCat(testing::TempDir(), "/tmp_file"); const absl::Status write_status = WriteStringToFile(dst_file_path, "test_string"); ASSERT_THAT(write_status, IsOk()); auto* const env = tsl::Env::Default();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io.cc
// The overloaded function uses the default env. return CreateTmpDir(tsl::Env::Default()); } absl::Status WriteStringToFile(const absl::string_view file_path, const absl::string_view data) { auto* env = tsl::Env::Default(); return WriteStringToFile(env, std::string(file_path), data); } absl::StatusOr<std::string> ReadFileToString( const absl::string_view file_path) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
namespace { using ::stablehlo::quantization::Method; using ::stablehlo::quantization::QuantizationResult; using ::stablehlo::quantization::QuantizationResults; using ::stablehlo::quantization::io::WriteStringToFile; using ::tsl::protobuf::TextFormat; // Given a `quantized_func_name` that starts with `kQuantizedFuncPrefix`, // converts `kQuantizedFuncPrefix` to `kCompositeFuncPrefix`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h
absl::StatusOr<std::string> CreateTmpDir(); // Convenience function for writing string `data` to file without the need to // pass `tsl::Env` instance. Internally it uses the default `tsl::Env::Default`. absl::Status WriteStringToFile(absl::string_view file_path, absl::string_view data); // Convenience function for reading string data from file at `file_path` without
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
BuildModel(); } Controller::~Controller() { delete api_def_map_; } const void Controller::WriteFile(const string& file_path, const SourceCode& code) const { TF_CHECK_OK(WriteStringToFile(env_, file_path, code.Render())) << file_path; } const std::vector<OpSpec>& Controller::GetModelOps() const { return operators_; } void Controller::InitializeOpApi() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java
writeFile(content, destination, Charset.defaultCharset().name()); } public static void writeFile(String content, File destination, String encoding) { try { FileUtils.writeStringToFile(destination, content, encoding); } catch (IOException e) { throw new UncheckedIOException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java
} public static void writeFile(String content, File destination, String encoding) { logDeprecation(); try { FileUtils.writeStringToFile(destination, content, encoding); } catch (IOException e) { throw new UncheckedIOException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 13.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
} public TestFile writelns(String... lines) { return writelns(Arrays.asList(lines)); } public TestFile write(Object content) { try { FileUtils.writeStringToFile(this, content.toString(), StandardCharsets.UTF_8); } catch (IOException e) { throw new RuntimeException(String.format("Could not write to test file '%s'", this), e); } return this;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)