Skip to main content

ReplicationReflectionPad combines ReplicationPad and ReflectionPad to prevent errors from being reported due to small input sizes when using non-constant padding types.

Project description

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

https://github.com/PsycheHalo/RRPad/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rrpad-0.0.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rrpad-0.0.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file rrpad-0.0.2.tar.gz.

File metadata

  • Download URL: rrpad-0.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rrpad-0.0.2.tar.gz
Algorithm Hash digest
SHA256 81eac358db02fd7cfd0e17bd0cc759f1e22da9451e4284ac4fb1d04cae4a8ffe
MD5 25fe0ae94b97ce059aa78e49e62ba34d
BLAKE2b-256 0068fa57404574f6e1985d515a221566f7d3f182dececb820055e9419f3d1c7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rrpad-0.0.2.tar.gz:

Publisher: python-publish.yml on PsycheHalo/RRPad

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rrpad-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rrpad-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rrpad-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d3997a1d03d8ef56f8ebb32fb39f7ae8095fe2989ba78d3a754c9907e7b17f9
MD5 3ca6b4408b033ed783afe0a703eb08d4
BLAKE2b-256 bfd67b8922335ba93e035ee07a322d2912e40ce1a1ef0aa57a95bced8f8436f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for rrpad-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on PsycheHalo/RRPad

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page