未验证 提交 13921df5 编写于 作者: C Christian Clauss 提交者: GitHub

Fix Python syntax error in setup_origin.py (#1005)

% `flake8 . --count --select=E9,F63,F7,F82,Y --show-source --statistics`
```
./d2l-zh/setup_origin.py:3:13: E999 SyntaxError: invalid decimal literal
commit: 9e55a9c
            ^
./d2l-zh/d2l/tensorflow.py:727:18: F821 undefined name 'get_params'
        params = get_params(len(vocab), num_hiddens)
                 ^
1     E999 SyntaxError: invalid decimal literal
1     F821 undefined name 'get_params'
2
```
上级 8703b673
"""
---
source: https://github.com/d2l-ai/d2l-en/blob/master/setup.py
commit: 9e55a9c
---
"""
from setuptools import setup, find_packages
import d2l
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册