Skip to main content

DataclassModule

dataclass + nn.Module

Usage

from dataclassmodule import DataclassModule

class ExampleModule(DataclassModule):
    x: int
    
    def __post_init__(self):
        self.layer = nn.Linear(2, 2)

Metadata

Release files for torch-dataclasses 0.1.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-dataclasses 0.1.2
File Size Uploaded Provenance Actions
torch_dataclasses-0.1.2.tar.gz 2.4 kB Without provenance Details for torch_dataclasses-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for torch-dataclasses 0.1.2
File Interpreter ABI Platform Actions
torch_dataclasses-0.1.2-py3-none-any.whl Python 3 none any Details for torch_dataclasses-0.1.2-py3-none-any.whl

Total release size: 5.3 kB

Release files / torch_dataclasses-0.1.2.tar.gz

Download URL torch_dataclasses-0.1.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
595e25c22d28cefe792872fc0331f9dd089e6ae29a9bd63a937414aea56fa1e4
BLAKE2b-256 checksum
How to use checksums
c0640d8f9d99734435744d5d0d4d8143ea41647081442888e46d5558dd09ccf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/19.6.0

Release files / torch_dataclasses-0.1.2-py3-none-any.whl

Download URL torch_dataclasses-0.1.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fb086e6715bfb2c2857142d873e1c54a91e461d7f2ec11bc75ef01e5db1a464
BLAKE2b-256 checksum
How to use checksums
de99cf74a8c427cb487d9f8409373d6bb8e1ffce4e61af468fb780f3adc3ca08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/19.6.0

Security for torch-dataclasses 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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