MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TFE_ContextRemoveFunction

Function TFE_ContextRemoveFunction

tensorflow/c/eager/c_api.cc:944–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

942}
943
944void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
945 TF_Status* status) {
946 status->status = ctx->context->RemoveFunction(name);
947}
948
949unsigned char TFE_ContextHasFunction(TFE_Context* ctx, const char* name) {
950 return ctx->context->FindFunctionDef(name) != nullptr;

Callers 3

FunctionDefAndExecuteFunction · 0.85
BM_ExecuteFunctionFunction · 0.85
TESTFunction · 0.85

Calls 1

RemoveFunctionMethod · 0.45

Tested by 3

FunctionDefAndExecuteFunction · 0.68
BM_ExecuteFunctionFunction · 0.68
TESTFunction · 0.68