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.3.tar.gz (33.6 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.3-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: BxTorch-0.2.3.tar.gz
  • Upload date:
  • Size: 33.6 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.3.tar.gz
Algorithm Hash digest
SHA256 6b9f6c01b752b77351d1804516e7554245cae0bb9b53da324ac91bf5b9d7cedc
MD5 6e142e0d21ca8fc5c878a5c2644573de
BLAKE2b-256 a856d89fe7c5c157b2b58e011d9b917e472d7385c9152ada53ea6158475bd6fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: BxTorch-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 52.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 656ad831e181c7a985934cefdafc800a7d0fa0140654a43da1e346bed44301f7
MD5 c47ceb4c61b2ff5c4e9f4f2ee090f571
BLAKE2b-256 c1fffcd208c5c2e992ed066c2d4e97b36661bdc4278d3f67b9b34ca7440f5741

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