Skip to content

Commit 34b69b6

Browse files
Fix minor bug in a convolution test.
PiperOrigin-RevId: 277978950 Change-Id: I46d5454ae984de05f73290d81fa477278bd793bf
1 parent bb2a75b commit 34b69b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow/compiler/xla/tests/convolution_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,10 +1908,10 @@ XLA_TEST_F(ConvolutionTest, ConvolveF32BackwardInputGroupedConvolution) {
19081908
XlaBuilder builder(TestName());
19091909
Shape input_shape = ShapeUtil::MakeShape(F32, {1, 64, 100, 100});
19101910
Array4D<float> input_data(1, 64, 100, 100);
1911-
input_data.FillRandom(/*value=*/0.023, 0.001, /*seed=*/45321);
1911+
input_data.FillRandom(/*stddev=*/0.023, 0.001, /*seed=*/45321);
19121912
Shape filter_shape = ShapeUtil::MakeShape(F32, {7, 7, 1, 64});
19131913
Array4D<float> filter_data(7, 7, 1, 64);
1914-
input_data.FillRandom(/*value=*/0.023, 0.001, /*seed=*/45320);
1914+
filter_data.FillRandom(/*stddev=*/0.023, 0.001, /*seed=*/45320);
19151915
auto input = Parameter(&builder, 0, input_shape, "input");
19161916
auto filter = ConstantR4FromArray4D(&builder, filter_data);
19171917

0 commit comments

Comments
 (0)