Fix typo in batch norm bias initialization (#7449)

add_depthwiseConv_op_gpu
Abhinav Arora 7 years ago committed by GitHub
parent a9dbdab5e2
commit ea782e38a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -983,7 +983,7 @@ def batch_norm(input,
default_initializer=Constant(1.0))
bias = helper.create_parameter(
attr=helper.param_attr, shape=param_shape, dtype=dtype, is_bias=True)
attr=helper.bias_attr, shape=param_shape, dtype=dtype, is_bias=True)
mean = helper.create_global_variable(
dtype=input.dtype,

Loading…
Cancel
Save