Enable while_test for the GPU backend.

PiperOrigin-RevId: 213618350
This commit is contained in:
Adrian Kuegel 2018-09-19 06:38:07 -07:00 committed by TensorFlower Gardener
parent 7bc9f39687
commit e1db78697b

View File

@ -763,9 +763,7 @@ TEST_F(WhileTest, TwoWhileLoopsAndSharedBody) {
ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001));
}
// Test while nodes that share the while body computation.
// TODO(b/37245345): Fails on GPU backend.
TEST_F(WhileTest, DISABLED_ON_GPU(WhileLoopsWithSharedBodyAndInit)) {
TEST_F(WhileTest, WhileLoopsWithSharedBodyAndInit) {
std::vector<Shape> shape_elements = {ShapeUtil::MakeShape(S32, {}),
ShapeUtil::MakeShape(F32, {10})};
Shape result_shape = ShapeUtil::MakeTupleShape(shape_elements);