Skip to main content

dl_d2l

Project description

from dl_d2l.util import enable_matplotlib_chinese

dl_d2l

This repository contains PyTorch implementations of the Deep Learning book "Dive into Deep Learning" (D2L).
It provides code examples, tutorials, and exercises to help you learn deep learning concepts using PyTorch.

Installation

pip install -U dl_d2l

Code Examples

You can find the code examples in the dl_d2l package. Here is a simple example of how to use it:

from dl_d2l import d2l_torch as d2l

d2l.arange(4)

# 启用中文支持 (针对 Colab 平台优化)
from dl_d2l.util import enable_matplotlib_chinese
enable_matplotlib_chinese()

Build & upload to pypi (For Developers)

prerequirement: twine is installed. If not, run the following command to install it:

pip install -U twine

build and upload:

## package
python setup.py sdist

## upload
twine upload dist/*

D2L

For more information about the "Dive into Deep Learning" book, visit the official website.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dl_d2l-1.0.8.tar.gz (44.7 kB view details)

Uploaded Source

File details

Details for the file dl_d2l-1.0.8.tar.gz.

File metadata

  • Download URL: dl_d2l-1.0.8.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for dl_d2l-1.0.8.tar.gz
Algorithm Hash digest
SHA256 462e42e4111f79b0b73639714b6de57dfe6174153525cb8bfc98b4405a5cd24c
MD5 272d04eea5b6338249db814345cfa5f8
BLAKE2b-256 4c86939356b6ea4a4f6791b26e1167c4fbbf7160efe29c16b5bdb192d47ebfcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page