keep compatibility with float networks and their getParameters