Skip to main content

pytorch-revgrad

PyPI version Coverage Status ci status python version License: MIT

This package implements a gradient reversal layer for pytorch modules.

Example usage

import torch

from pytorch_revgrad import RevGrad

model = torch.nn.Sequential(
    torch.nn.Linear(10, 5),
    torch.nn.Linear(5, 2),
    RevGrad()
)

Metadata

Release files for pytorch_revgrad 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 pytorch_revgrad 0.1.1
File Size Uploaded Provenance Actions
pytorch_revgrad-0.1.1.tar.gz 6.9 kB Without provenance Details for pytorch_revgrad-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 11.4 kB

Release files / pytorch_revgrad-0.1.1.tar.gz

Download URL pytorch_revgrad-0.1.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1d11bc61184d86d1d194244a20054a9c4c675ea55de34c5f8d5089b6979a6864
BLAKE2b-256 checksum
How to use checksums
db9a6dde240b8cfffb21b06c57571771490afcd08e5f7c38f2a203fa6bef3b33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

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

Download URL pytorch_revgrad-0.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb6aab9d64b5400adbcfbfa1622f1ffeb8dfe05842d3e8b9f940eba43f1a939c
BLAKE2b-256 checksum
How to use checksums
bd5c7f8398a6e3951b7bd11da9cc530b82a37240e1fb1faac349e7290c5af618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Security for pytorch_revgrad 0.1.1

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