| 25 | namespace test { |
| 26 | |
| 27 | void GetTensors(const Scope& scope, OutputList tensors, |
| 28 | std::vector<Tensor>* out) { |
| 29 | ClientSession session(scope); |
| 30 | TF_CHECK_OK(session.Run(tensors, out)); |
| 31 | } |
| 32 | |
| 33 | void GetTensor(const Scope& scope, Output tensor, Tensor* out) { |
| 34 | std::vector<Tensor> outputs; |