Searched refs:input_pairs (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/c/ |
D | c_api.cc | 380 std::vector<std::pair<string, Tensor>>* input_pairs, in TF_Run_Inputs() argument 382 const int ninputs = input_pairs->size(); in TF_Run_Inputs() 384 status->status = TF_TensorToTensor(c_inputs[i], &(*input_pairs)[i].second); in TF_Run_Inputs() 412 const std::vector<std::pair<string, Tensor>>& input_pairs, in TF_Run_Helper() argument 436 result = session->Run(run_options_proto, input_pairs, output_tensor_names, in TF_Run_Helper() 446 result = session->PRun(handle, input_pairs, output_tensor_names, &outputs); in TF_Run_Helper() 477 std::vector<std::pair<string, Tensor>> input_pairs(ninputs); in TF_Run() local 478 if (!TF_Run_Inputs(c_inputs, &input_pairs, status)) return; in TF_Run() 480 input_pairs[i].first = c_input_names[i]; in TF_Run() 490 TF_Run_Helper(s->session, nullptr, run_options, input_pairs, output_names, in TF_Run() [all …]
|