Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for find (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      return timer_seconds_() - block->timestamp <= max_staleness_;
    }
    
    std::shared_ptr<RamFileBlockCache::Block> RamFileBlockCache::Lookup(
        const Key& key) {
      absl::MutexLock lock(&mu_);
      auto entry = block_map_.find(key);
      if (entry != block_map_.end()) {
        if (BlockNotStale(entry->second)) {
          return entry->second;
        } else {
          // Remove the stale block and continue.
          RemoveFile_Locked(key.first);
        }
      }
    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)
  2. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

      # Find all Python py_test targets not tagged "no_pip" or "manual", excluding
      # any targets in ignored packages. Combine this list of targets into a bazel
      # query list (e.g. the list becomes "target+target2+target3")
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. .github/workflows/arm-ci.yml

                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository
            uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
        string device_name(dev);
        if (device_name.find("GPU:0") != string::npos) {
          has_gpu0 = true;
        }
        if (device_name.find("GPU:1") != string::npos) {
          has_gpu1 = true;
        }
      }
    
      const char* kCPUDevice = "CPU:0";
      if (!has_gpu0 || !has_gpu1) {
        TF_DeleteDeviceList(devices);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/api_template.__init__.py

    from tensorflow.python.compat import v2_compat as _compat
    _compat.enable_v2_behavior()
    _major_api_version = 2
    
    
    # Load all plugin libraries from site-packages/tensorflow-plugins if we are
    # running under pip.
    # TODO(gunan): Find a better location for this code snippet.
    from tensorflow.python.framework import load_library as _ll
    from tensorflow.python.lib.io import file_io as _fi
    
    # Get sitepackages directories for the python installation.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  6. tensorflow/c/eager/c_api_unified_experimental.cc

                 "Duplicate tracing factory registration");
      GetFactories()[name] = factory;
    }
    
    Status SetDefaultTracingEngine(const char* name) {
      auto entry = GetFactories().find(name);
      if (entry != GetFactories().end()) {
        default_factory = GetFactories().find(name)->second;
        return absl::OkStatus();
      }
      string msg = absl::StrCat(
          "No tracing engine factory has been registered with the key '", name,
          "' (available: ");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. .github/workflows/arm-ci-extended-cpp.yml

                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
      virtual Status InitializeLocalOnlyContext(const ServerDef& server_def,
                                                int keep_alive_secs) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. .github/workflows/arm-cd.yml

                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 10:24:16 GMT 2024
    - 3K bytes
    - Viewed (1)
  10. tensorflow/c/eager/c_api_experimental_test.cc

      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
Back to top