RRPad
ReplicationReflectionPad combines ReplicationPad and ReflectionPad to prevent errors from being reported due to small input sizes when using non-constant padding types.
Install
pip install RRPad
Use
from RRPad import ReplicationReflectionPad1d,ReplicationReflectionPad2d
...
pad=ReplicationReflectionPad1d(paddingSize)
input=torch.randn((1,2,3))
output=pad(input)
HomePage
Metadata
Release files for RRPad 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rrpad-0.0.2.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rrpad-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / rrpad-0.0.2.tar.gz
| Download URL | rrpad-0.0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81eac358db02fd7cfd0e17bd0cc759f1e22da9451e4284ac4fb1d04cae4a8ffe
|
|
BLAKE2b-256 checksum How to use checksums |
0068fa57404574f6e1985d515a221566f7d3f182dececb820055e9419f3d1c7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2025.
Transparency logRelease files / rrpad-0.0.2-py3-none-any.whl
| Download URL | rrpad-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d3997a1d03d8ef56f8ebb32fb39f7ae8095fe2989ba78d3a754c9907e7b17f9
|
|
BLAKE2b-256 checksum How to use checksums |
bfd67b8922335ba93e035ee07a322d2912e40ce1a1ef0aa57a95bced8f8436f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2025.
Transparency log