- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_DeletePRunHandle (0.14 sec)
-
tensorflow/c/c_api.h
// sequence of partial run calls. // // On success, returns a handle that is used for subsequent PRun calls. The // handle should be deleted with TF_DeletePRunHandle when it is no longer // needed. // // On failure, out_status contains a tensorflow::Status with an error // message. *handle is set to nullptr. TF_CAPI_EXPORT extern void TF_SessionPRunSetup(
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_test.cc
EXPECT_EQ(7, *(static_cast<int32*>(TF_TensorData(fetchValues2[0])))); TF_DeleteTensor(feedValues2[0]); TF_DeleteTensor(fetchValues2[0]); // Clean up. TF_DeletePRunHandle(handle); TF_DeleteSession(sess, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteGraph(graph); TF_DeleteStatus(s); } TEST(CAPI, ShapeInferenceError) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.cc
if (status->status.ok()) { char* buf = new char[new_handle.size() + 1]; memcpy(buf, new_handle.c_str(), new_handle.size() + 1); *handle = buf; } } void TF_DeletePRunHandle(const char* handle) { delete[] handle; // TODO(suharshs): Free up any resources held by the partial run state. } void TF_SessionPRun(TF_Session* session, const char* handle,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)