Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for performance (0.24 sec)

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

        // is okay, as stat requests are typically fast, and concurrent requests are
        // often for the same file. Future work can split this up into one lock per
        // key if this proves to be a significant performance bottleneck.
        absl::MutexLock lock(&mu_);
        if (LookupLocked(key, value)) {
          return TF_SetStatus(status, TF_OK, "");
        }
        compute_func(key, value, status);
        if (TF_GetCode(status) == TF_OK) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This
    // is for performance optimization by reusing an exiting unused op rather than
    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/env.h

    TF_CAPI_EXPORT extern void TF_DefaultThreadOptions(TF_ThreadOptions* options);
    
    // Returns a new thread that is running work_func and is identified
    // (for debugging/performance-analysis) by thread_name.
    //
    // The given param (which may be null) is passed to work_func when the thread
    // starts. In this way, data may be passed from the thread back to the caller.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      TFE_DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default placement
      // policy.
      TFE_DEVICE_PLACEMENT_SILENT = 2,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. tensorflow/c/eager/tape.h

      if (!s.ok()) {
        return s;
      }
    
      std::unordered_map<int64_t, int64_t> gradients_size;
      // TODO(apassos) multiple threads could be dequeuing from op_stack at the same
      // time, for better CPU backprop performance.
      VLOG(1) << "Initial stack:";
      if (VLOG_IS_ON(1)) {
        for (auto t : op_stack) {
          VLOG(1) << "  " << t;
        }
      }
      while (!op_stack.empty()) {
        const int64_t op = op_stack.back();
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top