mlp_create needs struct weights set