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)
Release files for torch-model-hub 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| torch_model_hub-0.2.2.tar.gz | 11.4 kB | Details |
Release files / torch_model_hub-0.2.2.tar.gz
| Download URL | torch_model_hub-0.2.2.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a53c6c6b9b5bf85c049b133cb6508b02405b0e833f007a2cf7060f0ce1a3e892
|
|
BLAKE2b-256 checksum How to use checksums |
17bf886a836d308d7a184d8b8376b4afaf8cc6a2d5db5a0a467fd3e66a52b07a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|