Searched refs:csession (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/c/ |
D | c_api_experimental_test.cc | 37 CSession csession(graph, s); in TestFakeIteratorStack() local 43 csession.SetOutputs({get_next}); in TestFakeIteratorStack() 44 csession.Run(s); in TestFakeIteratorStack() 46 TF_Tensor* out = csession.output_tensor(0); in TestFakeIteratorStack() 56 csession.Run(s); in TestFakeIteratorStack() 60 csession.CloseAndDelete(s); in TestFakeIteratorStack() 80 CSession csession(graph, s); in TEST() local 89 csession.SetOutputs({{get_next, 0}, {get_next, 1}}); in TEST() 90 csession.Run(s); in TEST() 94 TF_Tensor* image = csession.output_tensor(0); in TEST() [all …]
|
D | c_api_test.cc | 957 CSession csession(graph, s); in TEST() local 961 csession.SetInputs({{feed, Int32Tensor(3)}}); in TEST() 962 csession.SetOutputs({add}); in TEST() 963 csession.Run(s); in TEST() 965 TF_Tensor* out = csession.output_tensor(0); in TEST() 978 csession.SetInputs({{feed, Int32Tensor(7)}}); in TEST() 979 csession.SetOutputs({neg}); in TEST() 980 csession.Run(s); in TEST() 982 out = csession.output_tensor(0); in TEST() 991 csession.CloseAndDelete(s); in TEST() [all …]
|
D | c_api_function_test.cc | 92 CSession csession(host_graph_, s_); in RunT() local 96 csession.SetInputs(inputs); in RunT() 97 csession.SetOutputs(outputs); in RunT() 98 csession.Run(s_); in RunT() 103 TF_Tensor* out = csession.output_tensor(i); in RunT() 117 CSession csession(host_graph_, s_); in Run() local 120 csession.SetInputs(inputs); in Run() 121 csession.SetOutputs(outputs); in Run() 122 csession.Run(s_); in Run() 126 TF_Tensor* out = csession.output_tensor(i); in Run() [all …]
|