d2l-ai / d2l-book

Books with Jupyter notebooks
https://book.d2l.ai/
Apache License 2.0
230 stars 98 forks source link

Minor style issues caused by yapf #26

Closed astonzhang closed 3 years ago

astonzhang commented 3 years ago

Thanks to https://github.com/d2l-ai/d2l-book/commit/06ce6657f279af162da845dd3d771ae6a61f1700, now D2L replaces fluent alias (e.g., d2l.reshape(a, (1,2)) -> a.reshape((1,2))) correctly!

Due to the use of yapf in the code prettification step, the following are new minor style issues:

Screen Shot 2021-01-19 at 10 46 58 PM Screen Shot 2021-01-19 at 10 47 44 PM Screen Shot 2021-01-19 at 10 48 35 PM
mli commented 3 years ago

2) is fixed by https://github.com/d2l-ai/d2l-book/commit/486cb8d2473330d200cee86efceed8d66f26804b

mli commented 3 years ago
  1. is fixed by https://github.com/d2l-ai/d2l-book/commit/caca84a75ae014c9ef84d7ce91dde38c92860507
mli commented 3 years ago
  1. is fixed by https://github.com/d2l-ai/d2l-book/commit/6e7a7afd57f1d6c376e4350f4784627b6de29e72