Home
last modified time | relevance | path

Searched refs:CSession (Results 1 – 6 of 6) 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.cc89 csession_.reset(new CSession(graph_, s_)); in Run()
131 std::unique_ptr<CSession> csession_;
Dc_api_experimental_test.cc37 CSession csession(graph, s); in TestFakeIteratorStack()
80 CSession csession(graph, s); in TEST()
Dc_api_test.cc957 CSession csession(graph, s); in TEST()
1012 CSession csession(graph, s, use_XLA); in RunMinTest()
1371 CSession csession(session); in TEST()
1576 std::unique_ptr<CSession> csession(new CSession(graph_, s_)); in RunGraphsAndCompareOutputs()
1577 std::unique_ptr<CSession> expected_csession( in RunGraphsAndCompareOutputs()
1578 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()
1707 CSession csession(host_graph_, s_, /*use_XLA*/ true); in TEST_F()