- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setStatus (0.17 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TF_Status* status) const { std::vector<TensorHandlePtr> components; components.reserve(underlying_devices_.size()); if (values.size() != num_underlying_devices()) { TF_SetStatus( status, TF_INVALID_ARGUMENT, "Number of values did not match number of underlying devices."); return nullptr; } TF_DataType datatype_enum(
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/expiring_lru_cache.h
// 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) { InsertLocked(key, *value); } } /// Clear the cache. void Clear() {
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/filesystem_interface.h
/// status for each file, as if calling `path_exists` on each one. Core /// TensorFlow initializes the `statuses` array and plugins must use /// `TF_SetStatus` to set each element instead of directly assigning. /// /// DEFAULT IMPLEMENTATION: Checks existence of every file. Needs /// `path_exists`. bool (*paths_exist)(const TF_Filesystem* filesystem, char** paths,
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)