Home
last modified time | relevance | path

Searched refs:g_sum (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadamax_test.py139g_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])
Dadam_test.py166g_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/
Dgtest_unittest.cc709 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/
Dgtest_unittest.cc845 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()