Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FindFunctionDef (0.11 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      virtual absl::Status AddFunctionDefWithStackTraces(
          const FunctionDef& fdef, const StackTracesMap& stack_traces) = 0;
    
      // Find and return a added function by its name.
      virtual const FunctionDef* FindFunctionDef(const string& name) const = 0;
    
      // Find and return a function record added by its name.
      virtual core::RefCountPtr<FunctionRecord> FindRecord(
          const string& name) const = 0;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      };
    }
    
    void TFE_ContextGetFunctionDef(TFE_Context* ctx, const char* function_name,
                                   TF_Buffer* buf, TF_Status* status) {
      auto* function_def = tensorflow::unwrap(ctx)->FindFunctionDef(function_name);
      if (function_def == nullptr) {
        status->status = tensorflow::errors::NotFound(
            "Unable to find FunctionDef with name: ", function_name);
        return;
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

      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) {
      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(true);
    }
    
    void TFE_ContextDisableRunMetadata(TFE_Context* ctx) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top