Templates args

Andrey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 14 12:56:11 PDT 2016


On Thursday, 14 July 2016 at 19:48:20 UTC, Lodovico Giaretta 
wrote:

>
> You don't need Sigmoid!float at all. This will work:
>
> Neurons_layer!(float, 5) nf;
>
> as you provided a default value for the third argument.

Yes, default init is present, but double, real types are desirable


More information about the Digitalmars-d-learn mailing list