Matthew Einhorn schrieb am 31.08.2018 um 20:57:
> with model:
>     with Dense():
>         units = 64
>         activation = 'relu'
>         input_dim = 100
> 
>     with Dense():
>         units = 10
>         activation = 'softmax'

This looks like it could use 'class' instead of 'with'.

Stefan

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to