- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TFE_ContextAddFunction (0.16 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_test.cc
/* opts */ nullptr, /* description */ "", /* status */ status), TF_DeleteFunction); if (TF_GetCode(status) != TF_OK) return; TFE_ContextAddFunction(context, function.get(), status); } TEST(PARALLEL_DEVICE, TestFunction) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return; } AnnotateEagerRuntimeConstructionContext(function_def); status->status = tensorflow::unwrap(ctx)->AddFunctionDef(function_def); } void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function, TF_Status* status) { auto fdef_or = function->record->mutable_fdef(); if (!fdef_or.ok()) { status->status = fdef_or.status();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)