Home
last modified time | relevance | path

Searched refs:evenly_divisible (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dshape_inference_test.cc1306 bool evenly_divisible = true; in TEST_F() local
1310 EXPECT_TRUE(c.Divide(d_unknown, 2, evenly_divisible, &out).ok()); in TEST_F()
1315 EXPECT_TRUE(c.Divide(d_unknown, 1, evenly_divisible, &out).ok()); in TEST_F()
1317 EXPECT_TRUE(c.Divide(d_6, 1, evenly_divisible, &out).ok()); in TEST_F()
1319 EXPECT_TRUE(c.Divide(d_unknown, d_1, evenly_divisible, &out).ok()); in TEST_F()
1321 EXPECT_TRUE(c.Divide(d_6, d_1, evenly_divisible, &out).ok()); in TEST_F()
1324 EXPECT_TRUE(c.Divide(d_6, 2, evenly_divisible, &out).ok()); in TEST_F()
1326 EXPECT_TRUE(c.Divide(d_6, d_2, evenly_divisible, &out).ok()); in TEST_F()
1329 EXPECT_CONTAINS(c.Divide(d_6, 5, evenly_divisible, &out).error_message(), in TEST_F()
1332 EXPECT_CONTAINS(c.Divide(d_6, 0, evenly_divisible, &out).error_message(), in TEST_F()
[all …]
Dshape_inference.h524 bool evenly_divisible, DimensionHandle* out);
Dshape_inference.cc987 bool evenly_divisible, DimensionHandle* out) { in Divide() argument
1000 if (evenly_divisible && (v % divisor_value) != 0) { in Divide()