Skip to main content

Tensor types with variadic shapes that support static and runtime type checking

Project description

The goal of this project is to let users write tensor-like types with variadic shapes (PEP 646) that are amendable to both: static type checking (without a mypy plugin), as well as cross-tensor consistent runtime checking of shapes. This is achieved using minimal hacks (no mypy plugin necessary).

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

phantom_tensors-0.0.0.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

phantom_tensors-0.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file phantom_tensors-0.0.0.tar.gz.

File metadata

  • Download URL: phantom_tensors-0.0.0.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for phantom_tensors-0.0.0.tar.gz
Algorithm Hash digest
SHA256 2efabc6863ac5eff94cfbb2225bf72d2384c84690c94e32abe355dc0ce6a46f4
MD5 3fecfa8dcc98afe21a246ce56844e4bb
BLAKE2b-256 57d167d9037d01bf43ec7a7080218a1e4796cd25da23974770fc98e28080ccac

See more details on using hashes here.

Provenance

File details

Details for the file phantom_tensors-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phantom_tensors-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bea21830a21a56879bece7d084bb24ef7c1c957c06ee522db3bc74a75ae2fac5
MD5 a3648523b36767bb86ce5acd65576f41
BLAKE2b-256 4266ac7d6005098e73641eadd5ec9308e1c1a41482e65354741c78187d25383d

See more details on using hashes here.

Provenance

Supported by

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