Restyling for templates (now compatible only with neural networks of floats).