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)

Release files for dataclassmodule 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataclassmodule 0.1.1
File Size Uploaded
DataclassModule-0.1.1.tar.gz 1.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataclassmodule 0.1.1
File Interpreter ABI Platform
DataclassModule-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 kB

Release files / DataclassModule-0.1.1.tar.gz

Download URL DataclassModule-0.1.1.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fe20ceb0f0d0f7593eab3dfccac7efc15e2611683d482d2f4b7d646231966d69
BLAKE2b-256 checksum
How to use checksums
2946ac8b6fa5102c7abe584ea9480cdcfd0b752caeba5200410b130a2a2608ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.8 Darwin/19.6.0

Release files / DataclassModule-0.1.1-py3-none-any.whl

Download URL DataclassModule-0.1.1-py3-none-any.whl
Size 1.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9443479daca1ebbd1f174e925af6c88b1416272fe0d13e9d8612d41f1653601
BLAKE2b-256 checksum
How to use checksums
33022299ea102c85343df218347677a5a3ab981dd102470de4f75dbf7b0119e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.8 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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