- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_GraphCopyFunction (0.12 sec)
-
tensorflow/c/c_api_function_test.cc
DefineFunction("MyGrad2", &grad_func2); // func cannot be null TF_GraphCopyFunction(host_graph_, nullptr, func_, s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("'func' argument to TF_GraphCopyFunction cannot be null"), string(TF_Message(s_))); // Cannot change gradient TF_GraphCopyFunction(host_graph_, func_, grad_func1, s_);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// If `grad` is null and `func` is in `g`, TF_GraphCopyFunction is a noop. // `grad` must have appropriate signature as described in the doc of // GradientDef in tensorflow/core/framework/function.proto. // // If successful, status is set to OK and `func` and `grad` are added to `g`. // Otherwise, status is set to the encountered error and `g` is unmodified. TF_CAPI_EXPORT extern void TF_GraphCopyFunction(TF_Graph* g,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)