You don’t want to assign Variables to the network weights. You want the network weights to be Parameters, and you can perform any operation you want on them, using those generated Variables as weights if you want.
Without further information, it’s difficult to understand why the proposed approach is not sufficient.