Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for cleanUp (0.26 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //
    // You can call 'release()' on a Cleanup object to cancel the cleanup.
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. ci/official/utilities/cleanup_docker.sh

    cat <<EOF
    IMPORTANT: These tests ran under docker. This script does not clean up the
    container for you! You can delete the container with:
    
    $ docker rm -f tf
    
    You can also execute more commands within the container with e.g.:
    
    $ docker exec tf bazel clean
    $ docker exec -it tf bash
    EOF
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 10 20:26:29 GMT 2023
    - 998 bytes
    - Viewed (0)
  3. ci/official/utilities/cleanup_summary.sh

    A. Unique TensorFlower <******@****.***> 1699465409 -0800
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. ci/official/utilities/setup.sh

    fi
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                 char* buffer, TF_Status* status);
    }  // namespace tf_random_access_file
    
    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_op_requires.h

          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
      do {                                                                \
        ::tensorflow::Status _s(__VA_ARGS__);                             \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        // initialize filesystem in each testcase.
      }
      void TearDown() override {
        TF_DeleteStatus(status_);
        if (filesystem_->plugin_filesystem != nullptr)
          tf_gcs_filesystem::Cleanup(filesystem_);
        delete filesystem_;
      }
    
      std::string GetURIForPath(absl::string_view path) {
        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        return translated_name;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    #include <cstring>
    #include <memory>
    #include <sstream>
    #include <utility>
    
    #include "absl/synchronization/mutex.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h"
    
    namespace tf_gcs_filesystem {
    
    bool RamFileBlockCache::BlockNotStale(const std::shared_ptr<Block>& block) {
      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
    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)
  9. tensorflow/c/eager/custom_device_testutil.cc

    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/lib/gtl/cleanup.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace {
    
    struct LoggingDevice {
      tensorflow::string device_name;
      tensorflow::string underlying_device;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/Dockerfile

    # Install various tools.
    # - bats: bash unit testing framework
    #         NOTE: v1.6.0 seems to have a bug that made "git" in setup_file break
    # - bazelisk: always use the correct bazel version
    # - buildifier: clean bazel build deps
    # - buildozer: clean bazel build deps
    RUN git clone --branch v1.7.0 https://github.com/bats-core/bats-core.git && bats-core/install.sh /usr/local && rm -rf bats-core
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
Back to top