- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TFE_ContextAddFunctionDef (0.51 sec)
-
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) -
tensorflow/c/eager/c_api_test.cc
EXPECT_EQ(TF_UNAVAILABLE, TF_GetCode(status)) << TF_Message(status); TFE_DeleteOp(comm_op); const string& fdef1 = FunctionWithErrorOp("TestNonCommUnavailable"); TFE_ContextAddFunctionDef(ctx, fdef1.data(), fdef1.size(), status); TFE_Op* fn1 = TFE_NewOp(ctx, "FunctionWithTestNonCommUnavailable", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/c_api.h
// Add a function (serialized FunctionDef protocol buffer) to ctx so // that it can be invoked using TFE_Execute. TF_CAPI_EXPORT extern void TFE_ContextAddFunctionDef( TFE_Context* ctx, const char* serialized_function_def, size_t size, TF_Status* status); // Adds a function (created from TF_GraphToFunction or
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/c_api.cc
unwrapped_ctx, tensorflow::unwrap(h), device_name, &status->status); if (status->status.ok()) { return tensorflow::wrap(result); } return nullptr; } void TFE_ContextAddFunctionDef(TFE_Context* ctx, const char* serialized_function_def, size_t size, TF_Status* status) { tensorflow::FunctionDef function_def;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)