Skip to content

Commit adcb43f

Browse files
committed
fix KW issues of this->mean_values_ and this->varirance_values_ initialization
1 parent 4020279 commit adcb43f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tensorflow/core/kernels/mkl_fused_batch_norm_op.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@ class MklFusedBatchNormOp : public OpKernel {
518518
errors::InvalidArgument("Invalid data format"));
519519
OP_REQUIRES_OK(context, context->GetAttr("is_training", &is_training_));
520520
depth_ = 0;
521+
mean_values_ = nullptr;
522+
variance_values_ = nullptr;
521523
}
522524

523525
void Compute(OpKernelContext* context) override {

0 commit comments

Comments
 (0)