Ah OK, in that case I would use affine = True, set the desired values via bn.weight.fill_() or .copy_(), and freeze the affine parameters by setting their requires_grad attribute to False.
Would that work for you?