Searched refs:g_sum (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | adamax_test.py | 139 …g_sum = lambda: math_ops.reduce_sum(array_ops.gather(var, indices)) # pylint: disable=cell-var-fr… function 141 minimize_op = optimizer.minimize(g_sum, var_list=[var])
|
D | adam_test.py | 166 …g_sum = lambda: math_ops.reduce_sum(array_ops.gather(var, indices)) # pylint: disable=cell-var-fr… function 168 minimize_op = optimizer.minimize(g_sum, var_list=[var])
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 709 static int g_sum = 0; variable 710 static void Accumulate(int n) { g_sum += n; } in Accumulate() 714 g_sum = 0; in TEST() 716 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST() 718 g_sum = 0; in TEST() 721 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST() 723 g_sum = 0; in TEST() 727 EXPECT_EQ(321, g_sum); in TEST()
|
/external/googletest/googletest/test/ |
D | gtest_unittest.cc | 845 static int g_sum = 0; variable 846 static void Accumulate(int n) { g_sum += n; } in Accumulate() 850 g_sum = 0; in TEST() 852 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST() 854 g_sum = 0; in TEST() 857 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST() 859 g_sum = 0; in TEST() 863 EXPECT_EQ(321, g_sum); in TEST()
|