Skip to main content

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)

Source distribution for torch-model-hub 0.2.2
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

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page