Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for existent (0.16 sec)

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

      std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv);
      tf_gcs_filesystem::ExpiringLRUCache<int> cache(
          1, 0, [&env]() { return env->NowSeconds(); });
      env->SetNowSeconds(1);
      // Verify that replacement of an existing element works, and updates the
      // timestamp of the entry.
      cache.Insert(key, 41);
      env->SetNowSeconds(2);
      cache.Insert(key, 42);
      // 1 second after the most recent insertion, the entry is still valid.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
    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)
  3. tensorflow/c/eager/abstract_operation.h

      // the result will be used as a constraint for device placement. See the
      // documentation for DeviceName for more details.
      //
      // The value will override the previous value - that is, no "merging" of
      // existing and given constraints will be performed.
      virtual Status SetDeviceName(const char* name) = 0;
    
      virtual Status AddInput(AbstractTensorHandle* input) = 0;
      virtual Status AddInputList(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/README.md

    autogenerated from the registered Op and API definitions.
    
    To regenerate them, run the script in this directory, `update_cpp_ops.sh`, with
    no arguments. This script will overwrite the existing ops in-place at
    ***tensorflow/c/experimental/ops/\*_ops.{cc,h}***.
    
    Run this `update_cpp_ops.sh` script when Op definitions change in the registry.
    
    To generate additional operators, extend the lists in this script. Note that
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jul 28 17:21:01 GMT 2021
    - 993 bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        InsertLocked(key, value);
      }
    
      // Delete the entry with key `key`. Return true if the entry was found for
      // `key`, false if the entry was not found. In both cases, there is no entry
      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
      /// Look up the entry with key `key` and copy it to `value` if found. Returns
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  6. ci/official/utilities/setup_docker.sh

      if [[ "$TFCI_DOCKER_REBUILD_UPLOAD_ENABLE" == 1 ]]; then
        docker push "$TFCI_DOCKER_IMAGE"
      fi
    fi
    
    # Keep the existing "tf" container if it's already present.
    # The container is not cleaned up automatically! Remove it with:
    # docker rm tf
    if ! docker container inspect tf >/dev/null 2>&1 ; then
      # Pass all existing TFCI_ variables into the Docker container
      env_file=$(mktemp)
      env | grep ^TFCI_ > "$env_file"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 15:27:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.h

    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    // the same shape, although this requirement may be relaxed in the future.
    //
    // `device_name` must not name an existing physical or custom device (see
    // the documentation for TFE_RegisterCustomDevice for more information).
    //
    // Tensors may be copied on or off the device explicitly using
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  8. ci/official/utilities/setup.sh

      for env_file in ${TFCI//,/ }; do
        source "./ci/official/envs/$env_file"
      done
      set -u
      echo '==TFCI==: Evaluated the following TFCI variables from $TFCI:'
      export -p | grep TFCI
    
      # Load those stored pre-existing TFCI_ vars, if any
      if [[ -s "$FROM_ENV" ]]; then
        echo '==TFCI==: NOTE: Loading the following env parameters, which were'
        echo 'already set in the shell environment. If you want to disable this'
    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)
  9. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
      // Assigns a new value to the variable.
      void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status);
      // Adds `value` to the existing value of the variable.
      void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                     TF_Status* status);
    
     private:
      // Helper for running any single-argument assignment ops (Assign, AssignAdd,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top