Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for noclear (0.17 sec)

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

        }
        compute_func(key, value, status);
        if (TF_GetCode(status) == TF_OK) {
          InsertLocked(key, *value);
        }
      }
    
      /// Clear the cache.
      void Clear() {
        absl::MutexLock lock(&mu_);
        cache_.clear();
        lru_list_.clear();
      }
    
      /// Accessors for cache parameters.
      uint64_t max_age() const { return max_age_; }
      size_t max_entries() const { return max_entries_; }
    
    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)
  2. tensorflow/c/eager/immediate_execution_operation.h

    namespace tensorflow {
    
    class ImmediateExecutionContext;
    class AbstractOpAttrs;
    
    // Abstract interface to an operation.
    class ImmediateExecutionOperation : public AbstractOperation {
     public:
      virtual void Clear() = 0;
    
      // Returns the inputs of this op.
      virtual absl::Span<ImmediateExecutionTensorHandle* const> GetInputs()
          const = 0;
      virtual Status SetInput(size_t index,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status,
        bool clear_existing_contexts);
    
    // Set server def with retries and timeout. This is helpful for fault-tolerant
    // initial connection in high-preemption environments, such as
    // ParameterServerStrategy training.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

        // clear the op_tape. We can clear the tape because ownership of
        // backward functions that will be used for gradient computation
        // has been transferred to `result`.
        for (const auto& op_pair : *op_tape) {
          op_pair.second.backward_function_deleter(
              op_pair.second.backward_function);
        }
        op_tape->clear();
      }
      return result;
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                          bool reset_context, int keep_alive_secs,
                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
    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)
  7. tensorflow/c/eager/immediate_execution_context.h

      // TODO(tfrt-devs): Figure out a way to deprecate following features after
      // migrated to TFRT.
      //===--------------------------------------------------------------------===//
      // Clear pending nodes in thread executors and kernel caches.
      virtual void ClearCachesAndThreadExecutors() = 0;
    
      // Initialize the step resource container for a training step. This is used
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top