Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFE_ContextAddFunctionDef (0.17 sec)

  1. tensorflow/c/eager/c_api_distributed_test.cc

      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      // Register and run a function which returns the sum of 3 variables.
      const string function_def = AddVariablesFunction();
      TFE_ContextAddFunctionDef(ctx, function_def.data(), function_def.size(),
                                status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TFE_Op* func = TFE_NewOp(ctx, "AddVariablesFunction", status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top