Home
last modified time | relevance | path

Searched refs:input_pairs (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/c/
Dc_api.cc823 std::vector<std::pair<string, Tensor>>* input_pairs, in TF_Run_Inputs() argument
825 const int ninputs = input_pairs->size(); in TF_Run_Inputs()
827 status->status = TF_TensorToTensor(c_inputs[i], &(*input_pairs)[i].second); in TF_Run_Inputs()
836 const std::vector<std::pair<string, Tensor>>& input_pairs, in TF_Run_Helper() argument
860 result = session->Run(run_options_proto, input_pairs, output_tensor_names, in TF_Run_Helper()
870 result = session->PRun(handle, input_pairs, output_tensor_names, &outputs); in TF_Run_Helper()
901 std::vector<std::pair<string, Tensor>> input_pairs(ninputs); in TF_Run() local
902 if (!TF_Run_Inputs(c_inputs, &input_pairs, status)) return; in TF_Run()
904 input_pairs[i].first = c_input_names[i]; in TF_Run()
914 TF_Run_Helper(s->session, nullptr, run_options, input_pairs, output_names, in TF_Run()
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbucket_ops_test.py334 input_pairs = [(length, ([np.int64(length)] * data_len,
413 which = random.randint(0, len(input_pairs) - 1)
414 length, pair = input_pairs[which]