fixed get_weights_topo() for hingeloss layer