- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for callback (0.22 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
callback2.context = &callback2_invoked; callback2.callback = [](void* context) { *reinterpret_cast<bool*>(context) = true; }; TFE_CancellationToken token2 = TFE_CancellationManagerGetToken(c_mgr); EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token2, &callback2, "callback2")); TFE_CancellationToken token3 = TFE_CancellationManagerGetToken(c_mgr);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
TF_Status* status) { bool downloaded_block = false; auto reconcile_state = MakeCleanup([this, &downloaded_block, &key, &block] { // Perform this action in a cleanup callback to avoid locking mu_ after // locking block->mu. if (downloaded_block) { absl::MutexLock l(&mu_); // Do not update state if the block is already to be evicted. if (block->timestamp != 0) {
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) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
cat > $BATS_TEST_TMPDIR/ignore_deps_for_these_packages <<EOF //tensorflow/lite //tensorflow/compiler/mlir/lite //tensorflow/compiler/mlir/tfrt //tensorflow/core/runtime_fallback //tensorflow/core/tfrt //tensorflow/python/kernel_tests/signal //tensorflow/examples //tensorflow/tools/android //tensorflow/python/eager/benchmarks EOF
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
.github/workflows/issue-on-pr-rollback.yml
branches: - master permissions: {} jobs: create-issue-on-pr-rollback: runs-on: ubuntu-latest permissions: contents: read issues: write pull-requests: read if: | github.repository == 'tensorflow/tensorflow' && startsWith(github.event.head_commit.message, 'Rollback of PR #') steps: - name: Checkout repo
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Sep 12 16:40:29 GMT 2023 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// /// This class should be shared by read-only random access files on a remote /// filesystem (e.g. GCS). class RamFileBlockCache { public: /// The callback executed when a block is not found in the cache, and needs to /// be fetched from the backing filesystem. This callback is provided when the /// cache is constructed. It returns total bytes read ( -1 in case of errors
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.cc
const TFE_CancelCallback* c_callback, const char* callback_name) { tensorflow::CancelCallback callback = [callback = c_callback->callback, context = c_callback->context]() { callback(context); }; return tensorflow::unwrap(cancellation_manager) ->RegisterCallbackWithErrorLogging(token, callback, callback_name); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
const uint64_t max_age_; /// The maximum number of entries in the cache. A value of 0 means there is no /// limit on entry count. const size_t max_entries_; /// The callback to read timestamps. std::function<uint64_t()> timer_seconds_; /// Guards access to the cache and the LRU list. absl::Mutex mu_; /// The cache (a map from string key to Entry).
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
TFE_CancellationManager*); TF_CAPI_EXPORT extern bool TFE_CancellationManagerRegisterCallback( TFE_CancellationManager*, TFE_CancellationToken token, const TFE_CancelCallback* c_callback, const char* callback_name); TF_CAPI_EXPORT extern bool TFE_CancellationManagerDeregisterCallback( TFE_CancellationManager*, TFE_CancellationToken token); TF_CAPI_EXPORT extern bool TFE_CancellationManagerTryDeregisterCallback(
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_experimental.cc
// threadpool, so that we avoid the possibility of running the runner_ in the // threadpool of GPU event mgr, as that can trigger more callbacks to be // scheduled on that same threadpool, causing a deadlock in cases where the // caller of event_mgr->ThenExecute() blocks on the completion of the callback // (as in the case of ConstOp kernel creation on GPU, which involves copying a // CPU tensor to GPU).
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// If false, all activations are deleted in the first call to ComputeGradient. // Else, only when this is destructed. bool persistent_; }; // Describes a callback for special-cased and more efficient jvp computation. // // Could just be a simple typedef in ForwardAccumulator, but MSVC chokes on // that. template <typename Gradient> class ForwardFunction
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)