- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_NewWhile (0.07 sec)
-
tensorflow/c/c_api.h
// - Gradients // - Reference-type inputs // - Directly referencing external tensors from the cond/body graphs (this is // possible in the Python API) TF_CAPI_EXPORT extern TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs, int ninputs, TF_Status* status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
// Add while loop to func_graph_ { // The inputs to the while loop std::vector<TF_Output> inputs = {{feed1, 0}, {feed2, 0}}; std::unique_ptr<TF_WhileParams> params(new TF_WhileParams( TF_NewWhile(func_graph_, &inputs[0], inputs.size(), s_))); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); params->name = "test_loop"; // Initialize outputs so we can easily detect errors/bugs
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)