- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Shan (0.15 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
absl::MutexLock lock(&mu_); return DeleteLocked(key); } /// Look up the entry with key `key` and copy it to `value` if found. Returns /// true if an entry was found for `key`, and its timestamp is not more than /// max_age_ seconds in the past. bool Lookup(const std::string& key, T* value) { if (max_age_ == 0) { return false; } absl::MutexLock lock(&mu_); return LookupLocked(key, value); }
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/eager/c_api_experimental.h
// 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 // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster // than separately calling it because if the existing op has the same
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/eager/parallel_device/parallel_device_lib.h
// less synchronization than a thread pool would for this task, since Execute // acquires each thread in order (and so only one Execute will schedule // blocking collective operations at a time), and avoids some dynamic // allocation/scheduling. // // TODO(allenl): Keep a map from outer thread to list of inner threads rather // than a single list of threads so aliased nested parallel devices don't
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
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; GCSFile(google::cloud::storage::Client&& gcs_client);
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.h
// outputs - array of TF_Outputs that specify the outputs of the function. // If `noutputs` is zero (the function returns no outputs), `outputs` // can be null. `outputs` can contain the same tensor more than once. // output_names - The names of the function's outputs. `output_names` array // must either have the same length as `outputs` // (i.e. `noutputs`) or be null. In the former case,
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/tape.h
const std::function<void(BackwardFunction*)>& backward_function_deleter); void DeleteTrace(int64_t tensor_id); // Consumes the internal state of the tape (so cannot be called more than // once) and produces the gradient of the target tensors with respect to the // source tensors. The output gradients are used if not empty and not // null. The result is populated with one tensor per target element.
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) -
tensorflow/c/c_api_experimental.h
TF_CAPI_EXPORT void TF_SetXlaMinClusterSize(int size); // Gets/Sets TF/XLA flag for whether(true) or not(false) to disable constant // folding. This is for testing to ensure that XLA is being tested rather than // Tensorflow's CPU implementation through constant folding. TF_CAPI_EXPORT unsigned char TF_GetXlaConstantFoldingDisabled(); TF_CAPI_EXPORT void TF_SetXlaConstantFoldingDisabled( unsigned char should_enable);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
// destructor. The easiest way to use MakeCleanup is with a lambda argument, // capturing the return value in an 'auto' local variable. Most users will not // need more sophisticated syntax than that. // // Example: // void func() { // FILE* fp = fopen("data.txt", "r"); // if (fp == nullptr) return; // auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// tensors in `retvals`. // // 'retvals' must point to a pre-allocated array of TFE_TensorHandle* and // '*num_retvals' should be set to the size of this array. It is an error if // the size of 'retvals' is less than the number of outputs. This call sets // *num_retvals to the number of outputs. // // If async execution is enabled, the call may simply enqueue the execution
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/experimental/filesystem/plugins/posix/posix_filesystem_helper.h
// `mode`. The later is only used if `dst` needs to be created. int TransferFileContents(const char* src, const char* dst, mode_t mode, off_t size); // Returns true only if `entry` points to an entry other than `.` or `..`. // // This is a filter for `scandir`. int RemoveSpecialDirectoryEntries(const struct dirent* entry); } // namespace tf_posix_filesystem
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.5K bytes - Viewed (0)