- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFE_GetContextId (0.2 sec)
-
tensorflow/c/eager/c_api_experimental.cc
tensorflow::unwrap(ctx)->SetShouldStoreGraphs(true); } void TFE_ContextDisableGraphCollection(TFE_Context* ctx) { tensorflow::unwrap(ctx)->SetShouldStoreGraphs(false); } uint64_t TFE_GetContextId(TFE_Context* ctx) { tensorflow::EagerContext* context = tensorflow::ContextFromInterface(tensorflow::unwrap(ctx)); return context->GetContextId(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// is initialized (either locally or remotely). The context_id can change during // the process lifetime although this should cause the worker to be // reinitialized (e.g. cleared caches) as well. TF_CAPI_EXPORT extern uint64_t TFE_GetContextId(TFE_Context* ctx); // ----------------------------------------------------------------------------- // Cancellation APIs. typedef struct TFE_CancellationManager TFE_CancellationManager;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0)