Regenerating graphs for 1/sqrt weight initialization