Registry / ai-ml / nbdev-pytorch

nbdev-pytorch

JSON →
library0.0.2385pypypiunverified

nbdev-pytorch provides nbdev doc lookup for PyTorch functions and classes. Supports Python >=3.6. Version 0.0.2385 is the latest; release cadence is irregular as part of the fastai nbdev ecosystem.

pip install nbdev-pytorch
INSTALL
IMPORT
SIG · NBDEV-PYTORCH
N
nbdev-pytorch
ai-mlpythonv0.0.2385
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pytorch_doc
from nbdev_pytorch import pytorch_doc
from nbdev_pytorch import pytorch_doc

Import nbdev-pytorch and use pytorch_doc to get documentation for any PyTorch symbol.

from nbdev_pytorch import pytorch_doc # Look up PyTorch function docs pytorch_doc(torch.nn.Linear) pytorch_doc(torch.softmax)
nbdev --version
Debug
Known issues
gotchaModule name uses underscores: nbdev_pytorch, not nbdev-pytorch (npm style). Incorrect imports will raise ModuleNotFoundError.
fix
Use 'import nbdev_pytorch' or 'from nbdev_pytorch import ...'
affects: all
deprecatedIf you were using nbdev's built-in doc lookup for PyTorch, that functionality may be moved to nbdev-pytorch. Check if your imports still work after upgrading nbdev.
fix
Explicitly install nbdev-pytorch and import from nbdev_pytorch
affects: >=0.0.2000
Upgrade
Version history
0.0.2385latest on PyPI · released Feb 9, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
nbdev-pytorch — pip install nbdev-pytorch · libregistry