- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TFE_ContextClearCaches (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/c_api.cc
} TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) { TF_DeviceList* l = new TF_DeviceList; tensorflow::unwrap(ctx)->ListDevices(&l->response); return l; } void TFE_ContextClearCaches(TFE_Context* ctx) { tensorflow::unwrap(ctx)->ClearCachesAndThreadExecutors(); } // Set server_def on the context, possibly updating it. TF_CAPI_EXPORT extern void TFE_ContextSetServerDef(TFE_Context* ctx,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); for (bool clear_cache : {true, false, true}) { if (clear_cache) { TFE_ContextClearCaches(ctx); } TFE_TensorHandle* m = TestMatrixTensorHandle(ctx); TFE_TensorHandle* retval[1] = {nullptr}; int num_retvals = 1; TFE_Op* op = TFE_NewOp(ctx, "MatMulFunction", status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)