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.1.8.tar.gz
(10.9 kB
view details)
File details
Details for the file torch-model-hub-0.1.8.tar.gz.
File metadata
- Download URL: torch-model-hub-0.1.8.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e4c2b2d60e04a3c810e8cc66639b45c25cef6b37273270693c392f842f123da
|
|
| MD5 |
72741a62eae697a08c36fe9bbd425d39
|
|
| BLAKE2b-256 |
cc1fd63a23c55df684e38e431f390cfacfbdd449cc61fca4308cd9a7626f77bd
|