Home
last modified time | relevance | path

Searched refs:CSession (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/c/
Dc_test_util.cc453 CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { in CSession() function in CSession
460 CSession::CSession(TF_Session* session) : session_(session) {} in CSession() function in CSession
462 CSession::~CSession() { in ~CSession()
469 void CSession::SetInputs( in SetInputs()
479 void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) { in SetOutputs()
488 void CSession::SetOutputs(const std::vector<TF_Output>& outputs) { in SetOutputs()
494 void CSession::SetTargets(std::initializer_list<TF_Operation*> targets) { in SetTargets()
501 void CSession::Run(TF_Status* s) { in Run()
526 void CSession::CloseAndDelete(TF_Status* s) { in CloseAndDelete()
537 void CSession::DeleteInputValues() { in DeleteInputValues()
[all …]
Dc_test_util.h133 class CSession {
135 CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false);
136 explicit CSession(TF_Session* session);
138 ~CSession();
Dwhile_loop_test.cc88 csession_.reset(new CSession(graph_, s_)); in Run()
130 std::unique_ptr<CSession> csession_;
Dc_api_test.cc994 CSession csession(graph, s); in TEST()
1049 CSession csession(graph, s, use_XLA); in RunMinTest()
1408 CSession csession(session); in TEST()
1614 std::unique_ptr<CSession> csession(new CSession(graph_, s_)); in RunGraphsAndCompareOutputs()
1615 std::unique_ptr<CSession> expected_csession( in RunGraphsAndCompareOutputs()
1616 new CSession(expected_graph_, s_)); in RunGraphsAndCompareOutputs()
Dc_api_function_test.cc92 CSession csession(host_graph_, s_); in RunT()
117 CSession csession(host_graph_, s_); in Run()