Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dsave_restore_tensor.cc88 auto tensor_names_flat = tensor_names_t.flat<tstring>(); in SaveTensors() local
93 std::vector<size_t> sorted_name_idx(tensor_names_flat.size()); in SaveTensors()
96 [&tensor_names_flat](size_t a, size_t b) { in SaveTensors()
97 return tensor_names_flat(a) < tensor_names_flat(b); in SaveTensors()
101 const string& name = tensor_names_flat(i); in SaveTensors()
342 const auto& tensor_names_flat = tensor_names.flat<tstring>(); in RestoreTensorsV2() local
346 std::vector<size_t> sorted_name_idx(tensor_names_flat.size()); in RestoreTensorsV2()
349 [&tensor_names_flat](size_t a, size_t b) { in RestoreTensorsV2()
350 return tensor_names_flat(a) < tensor_names_flat(b); in RestoreTensorsV2()
363 const string& tensor_name = tensor_names_flat(i); in RestoreTensorsV2()
[all …]
Dsave_restore_v2_ops.cc105 const auto& tensor_names_flat = tensor_names.flat<tstring>(); in Compute() local
113 const string& tensor_name = tensor_names_flat(i); in Compute()