- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for Save (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc
int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode); if (dst_fd < 0) { close(src_fd); return -1; } // Both files have been opened, do the transfer. // Since errno would be overridden by `close` below, save it here. int error_code = 0; if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno; close(src_fd); close(dst_fd); if (error_code != 0) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jan 16 05:36:52 GMT 2020 - 2.1K bytes - Viewed (1) -
ci/official/containers/linux_arm64/setup.python.sh
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py /usr/bin/$VERSION get-pip.py /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip # Disable the cache dir to save image space, and install packages
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 2.1K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
} @test "API compatibility test passes, ensuring no unexpected changes to the TF API" { bazel test $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/api/tests:api_compatibility_test echo "You have to re-generate the TF API goldens and have the API changes reviewed." echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'" } teardown_file() { bazel shutdown
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
ISSUES.md
a documentation issue (for small doc fixes please send a PR instead). 1. Make sure the Issue Template is filled out. 1. The issue should be related to the repo it is created in. **Here's why we have this policy:** We want to focus on the work that benefits the whole community, e.g., fixing bugs and adding features. Individual support should be sought on Stack Overflow or other non-GitHub channels. It helps us to
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 11 22:37:27 GMT 2021 - 606 bytes - Viewed (0) -
ci/official/envs/rbe
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2K bytes - Viewed (0) -
ci/official/wheel_test/README.md
## Wheel Test This directory is dedicated to tests that require a built TensorFlow wheel file for testing, such as: * Ensuring the entire API is importable * Testing downstream projects against the wheel Ensure you have Bazel installed and accessible from your command line. These tests use hermetic Python. They also require a built TensorFlow wheel file and a requirements_lock file. The requirements_lock file is generated by the
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 31 18:17:57 GMT 2023 - 3.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
"_", /*replace_all=*/true); if (!cloud_path_.empty()) { // We have to join path for non-local filesystem manually to make sure // that this test will run on Windows since `tensorflow::io::JoinPath` // behaves differently on Windows. `tmp_dir` should be something like // `path/to/tmp/dir/`. After joining path, we will have // /path/to/tmp/dir/tf_fs_rng_name/` root_dir_ = tensorflow::strings::StrCat(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# Prevent double-compilation of some TF code, ref. b/183279666 (internal) # > TF's gen_api_init_files has a genrule to run the core TensorFlow code # > on the host machine. If we don't have --distinct_host_configuration=false, # > the core TensorFlow code will be built once for the host and once for the # > target platform.
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TEST(RamFileBlockCacheTest, ParallelReads) { // This fetcher won't respond until either `callers` threads are calling it // concurrently (at which point it will respond with success to all callers), // or 10 seconds have elapsed (at which point it will respond with an error). const int callers = 4; BlockingCounter counter(callers); auto fetcher = [&counter](const string& filename, size_t offset, size_t n,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
block->lru_iterator = lru_list_.begin(); } // Check for inconsistent state. If there is a block later in the same file // in the cache, and our current block is not block size, this likely means // we have inconsistent state within the cache. Note: it's possible some // incomplete reads may still go undetected. if (block->data.size() < block_size_) { Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max());
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0)