You could create the desired initial weights using any method and copy them into the model parameter via:
my_weight = ... # your method to create the initial weights
with torch.no_grad():
    model.my_layer.weight.copy_(my_weight)