Searched refs:evenly_divisible (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | shape_inference_test.cc | 1300 bool evenly_divisible = true; in TEST_F() local 1304 EXPECT_TRUE(c.Divide(d_unknown, 2, evenly_divisible, &out).ok()); in TEST_F() 1309 EXPECT_TRUE(c.Divide(d_unknown, 1, evenly_divisible, &out).ok()); in TEST_F() 1311 EXPECT_TRUE(c.Divide(d_6, 1, evenly_divisible, &out).ok()); in TEST_F() 1313 EXPECT_TRUE(c.Divide(d_unknown, d_1, evenly_divisible, &out).ok()); in TEST_F() 1315 EXPECT_TRUE(c.Divide(d_6, d_1, evenly_divisible, &out).ok()); in TEST_F() 1318 EXPECT_TRUE(c.Divide(d_6, 2, evenly_divisible, &out).ok()); in TEST_F() 1320 EXPECT_TRUE(c.Divide(d_6, d_2, evenly_divisible, &out).ok()); in TEST_F() 1324 c.Divide(d_6, 5, evenly_divisible, &out).error_message(), in TEST_F() 1328 c.Divide(d_6, 0, evenly_divisible, &out).error_message(), in TEST_F() [all …]
|
D | shape_inference.cc | 1014 bool evenly_divisible, DimensionHandle* out) { in Divide() argument 1027 if (evenly_divisible && (v % divisor_value) != 0) { in Divide()
|
D | shape_inference.h | 534 bool evenly_divisible, DimensionHandle* out);
|