Initializer that generates tensors initialized to 1.