Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TFE_ContextHasFunction (0.29 seconds)

  1. tensorflow/c/eager/c_api.h

                                                         TF_Status* status);
    
    // Checks whether a function is registered under `name`.
    TF_CAPI_EXPORT unsigned char TFE_ContextHasFunction(TFE_Context* ctx,
                                                        const char* name);
    
    // Enables tracing of RunMetadata on the ops executed from this context.
    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)
  2. tensorflow/c/eager/c_api.cc

    }
    
    void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
                                   TF_Status* status) {
      status->status = tensorflow::unwrap(ctx)->RemoveFunction(name);
    }
    
    unsigned char TFE_ContextHasFunction(TFE_Context* ctx, const char* name) {
      return tensorflow::unwrap(ctx)->FindFunctionDef(name) != nullptr;
    }
    
    void TFE_ContextEnableRunMetadata(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)
Back to Top