- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for TF_Session (0.08 sec)
-
tensorflow/c/c_api_internal.h
TF_Graph* graph; std::set<tensorflow::string> colocation_constraints; }; struct TF_Operation { tensorflow::Node node; private: ~TF_Operation() = default; }; struct TF_Session { TF_Session(tensorflow::Session* s, TF_Graph* g); tensorflow::Session* session; TF_Graph* const graph; tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu); int last_num_graph_nodes;Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
void Run(TF_Status* s); void CloseAndDelete(TF_Status* s); TF_Tensor* output_tensor(int i) { return output_values_[i]; } TF_Session* mutable_session() { return session_; } private: void DeleteInputValues(); void ResetOutputValues(); TF_Session* session_; std::vector<TF_Output> inputs_; std::vector<TF_Tensor*> input_values_; std::vector<TF_Output> outputs_;
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// API for driving Graph execution. typedef struct TF_Session TF_Session; // Return a new execution session with the associated graph, or NULL on // error. Does not take ownership of any input parameters. // // *`graph` must be a valid graph (not deleted or nullptr). `graph` will be // kept alive for the lifetime of the returned TF_Session. New nodes can still // be added to `graph` after this call.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
#endif // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) } // TF_Session functions ---------------------------------------------- TF_Session::TF_Session(tensorflow::Session* s, TF_Graph* g) : session(s), graph(g), last_num_graph_nodes(0), extend_before_run(true) {} TF_Session* TF_NewSession(TF_Graph* graph, const TF_SessionOptions* opt, TF_Status* status) {
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// empty, this call is blocked. // // Tensors are enqueued via the corresponding TF enqueue op. // TODO(hongm): Add support for `timeout_ms`. TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
if (!status->status.ok()) return {}; ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction)); } return ret; } TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status) { assert(session); { tensorflow::mutex_lock c(session->graph->mu); VLOG(1) << "Dequeuing named tensor with id " << tensor_id
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
<< "'" << s << "' does not contain '" << expected << "'"; } // Returns the GPU device name if there is one (with arbitrary tie breaking if // there are more than one), or "" otherwise. string GPUDeviceName(TF_Session* session) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_Status* s = status.get(); std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> list(
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
TF_SessionOptions* opts = TF_NewSessionOptions(); TF_EnableXLACompilation(opts, use_XLA); session_ = TF_NewSession(graph, opts, s); TF_DeleteSessionOptions(opts); } CSession::CSession(TF_Session* session) : session_(session) {} CSession::~CSession() { TF_Status* s = TF_NewStatus(); CloseAndDelete(s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteStatus(s); }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 17.8K bytes - Viewed (1) -
RELEASE.md
converted to a bool by adding .ok() to the call. * 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.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Oct 28 22:27:41 UTC 2025 - 740.4K bytes - Viewed (3)