Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/sparse/
Dsparse_tensor_test.cc184 auto vals_t = vals.vec<string>(); in TEST() local
185 vals_t = vals_c; in TEST()
201 EXPECT_EQ(vals_t(0), "hi0"); in TEST()
202 EXPECT_EQ(vals_t(1), "hi3"); in TEST()
203 EXPECT_EQ(vals_t(2), "hi2"); in TEST()
204 EXPECT_EQ(vals_t(3), "hi1"); in TEST()
205 EXPECT_EQ(vals_t(4), "hi4"); in TEST()
208 vals_t = vals_c; in TEST()
211 EXPECT_EQ(vals_t(0), "hi0"); in TEST()
212 EXPECT_EQ(vals_t(1), "hi4"); in TEST()
[all …]
Dsparse_tensor.h385 auto vals_t = vals_.vec<T>(); in Reorder() local
430 std::swap(vals_t(n), vals_t(r)); in Reorder()
472 auto vals_t = vals_.vec<T>(); in ToDense() local
483 for (int n = 0; n < vals_t.dimension(0); ++n) { in ToDense()
494 out_t(ix) = vals_t(n); in ToDense()
548 typename TTypes<T>::Vec vals_t = output_vals.vec<T>(); in Concat() local
556 std::copy_n(&st.vals_.vec<T>()(0), st_num_entries, &vals_t(offset)); in Concat()