- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_ContextExportRunMetadata (0.13 seconds)
-
tensorflow/c/eager/c_api.h
// containing any run metadata information accumulated so far and clears this // information. // If async mode is enabled, this call blocks till all currently pending ops are // done. TF_CAPI_EXPORT extern void TFE_ContextExportRunMetadata(TFE_Context* ctx, TF_Buffer* buf, TF_Status* status);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t, TF_Status* status) { return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(t)); } void TFE_ContextExportRunMetadata(TFE_Context* ctx, TF_Buffer* buf, TF_Status* status) { auto* context = tensorflow::unwrap(ctx); status->status = context->AsyncWait(); if (!status->status.ok()) return;
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
TFE_Execute(matmul, &retvals[0], &num_retvals, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteOp(matmul); TFE_DeleteTensorHandle(m); TF_Buffer* b = TF_NewBuffer(); TFE_ContextExportRunMetadata(ctx, b, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); tensorflow::RunMetadata rm; EXPECT_TRUE( rm.ParseFromString({reinterpret_cast<const char*>(b->data), b->length}));
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)