Skip to main content

PyTorch extension package for Bessel functions with arbitrary real order and complex inputs

Project description

About

PyTorch extension package for Bessel functions with arbitrary real order and complex inputs

Install

pip install torch-bessel

Example usage

import torch_bessel

z = torch.randn(10) + 1j
torch_bessel.ops.modified_bessel_k0(z)

Implemented functions

  • modified_bessel_k0: Same as torch.special.modified_bessel_k0, but also handles backpropagation and complex inputs with $\mathrm{Im}(z) \geq 0$ on cpu and cuda.

WIP

  • modified_bessel_kv: Analogue of scipy.special.kv.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

torch_bessel-0.0.1-cp311-cp311-macosx_11_0_arm64.whl (80.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file torch_bessel-0.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torch_bessel-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 105a4c66b3780f7718c5ce711a64ae738c482e91a5aa10a1c2fac66e1a3c79b4
MD5 0798a9a64a0b4ac4c75765d192df52b9
BLAKE2b-256 7b5730dde11c2ca951d39d9be06eeac24b44271110add6f5f28a28edd0143573

See more details on using hashes here.

Provenance

The following attestation bundles were made for torch_bessel-0.0.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build_and_deploy.yml on hchau630/torch-bessel

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