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)

Metadata

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 Provenance Actions
torch_model_hub-0.2.2.tar.gz 11.4 kB Without provenance Details for torch_model_hub-0.2.2.tar.gz

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

Security for torch-model-hub 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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