Fix MSAN errors in depthwise convolution test

PiperOrigin-RevId: 291552846
Change-Id: Icc2abd4a30e77e732de3d0309b3834577f4435e2
This commit is contained in:
A. Unique TensorFlower 2020-01-25 14:41:35 -08:00 committed by TensorFlower Gardener
parent 90e6bdca1f
commit bef6b62506

View File

@ -31,7 +31,8 @@ namespace xla {
string GetFloatDataType(bool use_bfloat16);
struct DepthwiseConvolution2DSpec {
int64 output_feature, window, stride, pad, lhs_dilate;
int64 output_feature = -1, window = -1, stride = -1, pad = -1,
lhs_dilate = -1;
std::vector<int64> activation_dims;
std::vector<int64> activation_layout;
std::vector<int64> kernel_dims;