资源简介

《动手学深度学习》图书对应的源代码,很详细。手把手教你学会DeepLearning。

资源截图

代码片段和文件信息

#!/usr/bin/env python
import io
import os
import re
from setuptools import setup find_packages
import shutil
import sys

def read(*names **kwargs):
    with io.open(
        os.path.join(os.path.dirname(__file__) *names)
        encoding=kwargs.get(“encoding“ “utf8“)
    ) as fp:
        return fp.read()


def find_version(*file_paths):
    version_file = read(*file_paths)
    version_match = re.search(r“^__version__ = [‘\“]([^‘\“]*)[‘\“]“
                              version_file re.M)
    if version_match:
        return version_match.group(1)
    raise RuntimeError(“Unable to find version string.“)


VERSION = find_version(‘gluonbook‘ ‘__init__.py‘)

requirements = [
    ‘numpy‘
    ‘matplotlib‘
‘jupyter‘
]

setup(
    # metadata
    name=‘gluonbook‘
    version=VERSION
    author=‘Contributors‘
    author_email=‘mli@amazon.com‘
    url=‘http://www.diveintodeeplearning.org‘
    description=‘Gluon Book Utils‘
    long_description=‘Gluon Book Utilities‘
    license=‘Apache-2.0‘

    # Package info
    packages=find_packages(exclude=(‘tests‘))

    zip_safe=True
    install_requires=requirements


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-06 02:42  d2l-zh-master\
     文件         309  2018-12-06 02:42  d2l-zh-master\.gitignore
     文件          91  2018-12-06 02:42  d2l-zh-master\.gitmodules
     文件        1100  2018-12-06 02:42  d2l-zh-master\Dockerfile
     文件         528  2018-12-06 02:42  d2l-zh-master\Jenkinsfile
     文件       11357  2018-12-06 02:42  d2l-zh-master\LICENSE
     文件        2350  2018-12-06 02:42  d2l-zh-master\Makefile
     文件        3019  2018-12-06 02:42  d2l-zh-master\README.md
     文件        4529  2018-12-06 02:42  d2l-zh-master\style_GUIDE.md
     文件        3484  2018-12-06 02:42  d2l-zh-master\TERMINOLOGY.md
     目录           0  2018-12-06 02:42  d2l-zh-master\build\
     文件          24  2018-12-06 02:42  d2l-zh-master\build\404.md
     文件        8110  2018-12-06 02:42  d2l-zh-master\build\Makefile
     目录           0  2018-12-06 02:42  d2l-zh-master\build\_static\
     文件        1255  2018-12-06 02:42  d2l-zh-master\build\_static\discuss.js
     文件        1318  2018-12-06 02:42  d2l-zh-master\build\_static\frontpage.css
     文件       34486  2018-12-06 02:42  d2l-zh-master\build\_static\gluon.png
     文件        7357  2018-12-06 02:42  d2l-zh-master\build\_static\gluon_s2.png
     文件       35600  2018-12-06 02:42  d2l-zh-master\build\_static\gluon_white.png
     文件         395  2018-12-06 02:42  d2l-zh-master\build\_static\google_analytics.js
     文件         823  2018-12-06 02:42  d2l-zh-master\build\build_html.sh
     文件         174  2018-12-06 02:42  d2l-zh-master\build\build_pdf.sh
     文件         313  2018-12-06 02:42  d2l-zh-master\build\build_pkg.sh
     文件       12944  2018-12-06 02:42  d2l-zh-master\build\conf.py
     文件          90  2018-12-06 02:42  d2l-zh-master\build\convert_output_svg.sh
     文件         301  2018-12-06 02:42  d2l-zh-master\build\env.yml
     文件        3638  2018-12-06 02:42  d2l-zh-master\build\frontpage.html
     文件         528  2018-12-06 02:42  d2l-zh-master\build\index.rst
     文件        1669  2018-12-06 02:42  d2l-zh-master\build\ipynb2mdd.sh
     文件         668  2018-12-06 02:42  d2l-zh-master\build\lint.sh
     文件        2194  2018-12-06 02:42  d2l-zh-master\build\md2ipynb.py
............此处省略370个文件信息

评论

共有 条评论