Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ExecutionContextRegisterFunction (0.25 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

          TF_NewEagerExecutionContext(opts, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_DeleteContextOptions(opts);
    
      TF_ExecutionContextRegisterFunction(eager_execution_ctx, func, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // Build the abstract op to run the function.
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_DeleteAbstractFunction(TF_AbstractFunction*);
    
    // Register the function with the given context. This is particularly useful for
    // making a function available to an eager context.
    void TF_ExecutionContextRegisterFunction(TF_ExecutionContext*,
                                             TF_AbstractFunction*, TF_Status*);
    
    // -----------------------------------------------------------------------------
    // APIs specific to Eager modes
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

                                unwrap(o)->outputs.size()),
                 &num_outputs));
    }
    
    void TF_DeleteAbstractFunction(TF_AbstractFunction* func) {
      unwrap(func)->Unref();
    }
    
    void TF_ExecutionContextRegisterFunction(TF_ExecutionContext* ctx,
                                             TF_AbstractFunction* func,
                                             TF_Status* s) {
      tsl::Set_TF_Status_from_Status(s,
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top