[StreamExecutor] Allow null batch_mean/batch_var in calls to BatchNormalizationForward.
cudnn allows these pointers to be null, so we should too. This lets us avoid an unnecessary ThenMemZero, and lets callers avoid an unnecessary allocation. PiperOrigin-RevId: 179350594
Loading
Please sign in to comment