xnet: added weight dumping