fix LaunchDepthwiseConvBackpropFilterOp
This commit is contained in:
parent
cb60e1c14b
commit
bedc750c7d
@ -1763,7 +1763,7 @@ void LaunchDepthwiseConvBackpropFilterOp<GpuDevice, T>::operator()(
|
||||
int num_filter_backprop =
|
||||
args.filter_rows * args.filter_cols * args.out_depth;
|
||||
se::DeviceMemoryBase filter_bp_ptr(filter_backprop, num_filter_backprop);
|
||||
stream->ThenMemset32(&filter_bp_ptr, 0, num_filter_backprop * sizeof(T));
|
||||
stream->ThenMemZero(&filter_bp_ptr, num_filter_backprop * sizeof(T));
|
||||
|
||||
if (args.filter_rows == 3 && args.filter_cols == 3) {
|
||||
OP_REQUIRES_OK(
|
||||
|
Loading…
Reference in New Issue
Block a user