Skip to main content

High-level abstractions for PyTorch.

Project description

BxTorch

BxTorch is a high-level library for working with PyTorch. It is designed to make PyTorch much simpler in the most common cases. Yet, it is engineered to be highly extensible in order to preserve PyTorch's flexibility --- while relieving you from writing boilerplate code.

Installation

BxTorch is available on PyPi, so simply run the following command:

pip install bxtorch

The package will install the dependencies specified here. If you plan to use plotting features of BxTorch, make sure to also install the following packages:

matplotlib

Features

Generally, BxTorch provides an object-oriented approach to abstracting PyTorch's API. The core design objective is to provide an API both as simple and as extensible as possible --- usually at the expense of some milliseconds of execution time. Be aware that the goal of this library is not to maximize performance in cases where it is not needed.

This does not mean that BxTorch does not care about performance: in fact, the library has built-in support for multi-GPU training, both within a single process and split over multiple processes.

It must be emphasized that BxTorch is not meant to be a wrapper for PyTorch as Keras is for TensorFlow, for example. It only provides extensions for PyTorch.

Documentation

Examples of the usage of BxTorch can be found in the docs folder. Method documentation is currently only available as docstrings.

License

BxTorch is licensed under the MIT License.

The logo is modified from thenounproject.com, "Torch by iconsmind.com from the Noun Project".

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

BxTorch-0.2.9.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

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

BxTorch-0.2.9-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file BxTorch-0.2.9.tar.gz.

File metadata

  • Download URL: BxTorch-0.2.9.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for BxTorch-0.2.9.tar.gz
Algorithm Hash digest
SHA256 6ca3a1dc9dbc270ffbde55529457a6c221af38876006b4a5b380d9a05bdcdd7a
MD5 c511ad6f898cd42db7c008d0b58fcd23
BLAKE2b-256 eb173ddbc023099762fb6e22e49097ebcef20153a956a52a38883c62fad2484a

See more details on using hashes here.

File details

Details for the file BxTorch-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: BxTorch-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for BxTorch-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 abc88cd05c5e6c6b8bf4f82db253816b012b4e06caaeddb5e9659f4f032102a0
MD5 8022704ad4069cf607056a386cf64d0c
BLAKE2b-256 844791a564761ec2a1a6beaf7ea4f8f8fee639c3c2584961e9dd6d838e2ddf1b

See more details on using hashes here.

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