- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for TF_DeprecatedSession (0.1 seconds)
-
tensorflow/c/c_api.h
// TF_ExtendGraph(). This deprecated API can be removed at any time without // notice. typedef struct TF_DeprecatedSession TF_DeprecatedSession; TF_CAPI_EXPORT extern TF_DeprecatedSession* TF_NewDeprecatedSession( const TF_SessionOptions*, TF_Status* status); TF_CAPI_EXPORT extern void TF_CloseDeprecatedSession(TF_DeprecatedSession*, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
// Internal structures used by the C API. These are likely to change and should // not be depended on. struct TF_SessionOptions { tensorflow::SessionOptions options; }; struct TF_DeprecatedSession { tensorflow::Session* session; }; struct TF_Library { void* lib_handle; TF_Buffer op_list; }; struct TF_Graph { TF_Graph(); mutable tensorflow::mutex mu;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 7.5K bytes - Click Count (0) -
tensorflow/c/c_api.cc
} } void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) { status->status = s->session->Close(); } void TF_DeleteDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) { status->status = absl::OkStatus(); if (s == nullptr) return; delete s->session; delete s; } void TF_ExtendGraph(TF_DeprecatedSession* s, const void* proto,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeleteSessionOptions(opt); } TEST(CAPI, DeprecatedSession) { TF_Status* s = TF_NewStatus(); TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeprecatedSession* session = TF_NewDeprecatedSession(opt, s); TF_DeleteSessionOptions(opt); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Buffer* run_options = TF_NewBufferFromString("", 0);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
RELEASE.md
* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating its preferred use in language bindings for TensorFlow. What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`. * Renamed `TF_Port` to `TF_Output` in the C API. * Removes RegisterShape from public API. Use C++ shape function registration instead. indexing now starts from 1 instead of 0, and `bus_id==0` is usedCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3)