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