- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for lock (0.12 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
if (max_age_ == 0) { return; } absl::MutexLock lock(&mu_); 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); }
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
typedef struct GCSFile { google::cloud::storage::Client gcs_client; // owned bool compose; absl::Mutex block_cache_lock; std::shared_ptr<RamFileBlockCache> file_block_cache ABSL_GUARDED_BY(block_cache_lock); uint64_t block_size; // Reads smaller than block_size will trigger a read // of block_size. std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
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) -
tensorflow/c/c_api_internal.h
} #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) tensorflow::ApiDefMap api_def_map TF_GUARDED_BY(lock); #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) bool update_docs_called TF_GUARDED_BY(lock); tensorflow::mutex lock; }; #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) struct TF_Server {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
std::shared_ptr<Block> Lookup(const Key& key) ABSL_LOCKS_EXCLUDED(mu_); void MaybeFetch(const Key& key, const std::shared_ptr<Block>& block, TF_Status* status) ABSL_LOCKS_EXCLUDED(mu_); /// Trim the block cache to make room for another entry. void Trim() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_); /// Update the LRU iterator for the block at `key`.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Causes the calling thread to block till all ops dispatched in this executor // have been executed. Note that "execution" here refers to kernel execution / // scheduling of copies, etc. Similar to sync execution, it doesn't guarantee // that lower level device queues (like GPU streams) have been flushed. // // This call may not block for execution of ops enqueued concurrently with this // call.
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) -
tensorflow/c/c_api.h
TF_Status* status); // Creates a new operation - see `TF_NewOperation` for more details. // // The lock for `graph` must be held when calling this function. // // Unless implementing advanced behavior, like custom gradient functions, you // most likely need to call `TF_NewOperation` instead.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/c_api.h
// you want the latter, use TFE_TensorHandleBackingDeviceName. This function // will block till the operation that produces `h` has completed. TF_CAPI_EXPORT extern const char* TFE_TensorHandleDeviceName( TFE_TensorHandle* h, TF_Status* status); // Returns the name of the device in whose memory `h` resides. // // This function will block till the operation that produces `h` has completed.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
// Add `devices` into context's device manager. Context's device manager // will take ownership and maintain devices' lifetime. virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0; // Block until all pending nodes are finished. virtual Status AsyncWait() = 0; // Add a function (serialized FunctionDef protocol buffer) so that it can // be executed as an op. Return error if the function with the same name
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) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// /// This call might not block, and when it returns the contents might not have /// been fully persisted. /// /// DEFAULT IMPLEMENTATION: No op. void (*flush)(const TF_WritableFile* file, TF_Status* status); /// Syncs contents of `*file` with the filesystem. /// /// This call should block until filesystem confirms that all buffers have /// been flushed and persisted.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0)