Model hub for Pytorch.
Project description
Usage Sample ''''''''''''
.. code:: python
import torch
from model.model import TextCNN
X = torch.randn(8, 10, 128)
model = TextCNN(embed_dim=128, kernel_sizes=(2, 3, 4), cnn_channels=64, out_features=2)
output = model(X)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torch-model-hub-0.2.1.tar.gz
(11.1 kB
view details)
File details
Details for the file torch-model-hub-0.2.1.tar.gz.
File metadata
- Download URL: torch-model-hub-0.2.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96eac4ef69a234c99b5b4b6c0e00dc0d8ed7e66b8235cac4de615cd0dfff4ca3
|
|
| MD5 |
c6b640b7117b6ecac8a78d12ffa38d7d
|
|
| BLAKE2b-256 |
784856cb145633adeaebe9c1daba26bbe994a1bc789826aa6f638d2af85ce1ad
|