- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for conds (0.15 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
downloaded_block = true; block->state = FetchState::FINISHED; } else { block->state = FetchState::ERROR; } block->cond_var.SignalAll(); return; case FetchState::FETCHING: block->cond_var.WaitWithTimeout(&block->mu, absl::Minutes(1)); if (block->state == FetchState::FINISHED) { return TF_SetStatus(status, TF_OK, ""); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
} else { // TODO(allenl): Figure out why using zeros_like everywhere causes issues // for some gradient functions and if there's another way to work around // it (e.g. conds instead of ifs). The value shouldn't really matter. TF_RETURN_IF_ERROR(vspace_.BuildOnesLike(output_tensor, &aid)); } if (TF_PREDICT_FALSE(aid == nullptr)) { return tensorflow::errors::Internal(
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/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
uint64_t timestamp; /// Mutex to guard state variable absl::Mutex mu; /// The state of the block. FetchState state ABSL_GUARDED_BY(mu) = FetchState::CREATED; /// Wait on cond_var if state is FETCHING. absl::CondVar cond_var; }; /// \brief The block map type for the file block cache. /// /// The block map is an ordered map from Key to Block. typedef std::map<Key, std::shared_ptr<Block>> BlockMap;
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)