Skip to main content

a collection of assorted algorithms expressed in Tensors. Dev package that pushes on green from master.

Project description

TensorBank

PyPI version Build Status Documentation Status

TensorBank is a collection of assorted algorithms expressed in Tensors.

We do not intend to limit ourselves to a specific domain. The initial batch of algorithms is focused on point and box gemoetry for some object detection tasks, but more algorithms will be added later.

We are open to all backends, including Tensorflow, Pytorch, and NumPy.

Primarily, this project is to avoid copy-pasting the "utils" directory from one project to the next :-)

Installation

$ pip install tensorbank

Usage

If you're using TensorFlow, import TensorBank as follows and use the tb. prefix:

import tensorbank.tf as tb

tb.axis_aligned_boxes.area(
    [[1, 1, 2, 2],
     [-1, -1, 1, 2]])
>>> tf.Tensor([1 6], shape=(2,), dtype=int32)

See API Reference on Readthedocs for the full list of the algorithms offered and comprehensive usage examples.

Development version

PyPI version

If you want to install the push-on-green development version, do this instead:

$ pip install tensorbank-dev

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

tensorbank-dev-0.2.202007081820.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file tensorbank-dev-0.2.202007081820.tar.gz.

File metadata

  • Download URL: tensorbank-dev-0.2.202007081820.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.6.7 Linux/4.15.0-1028-gcp

File hashes

Hashes for tensorbank-dev-0.2.202007081820.tar.gz
Algorithm Hash digest
SHA256 42922505dfd5626c5a447d5dee063ccc608f9e34376472811f224c6039c8045d
MD5 01a7f3a2d89ff71ade47b6f722f3175b
BLAKE2b-256 8ebe8bae66288a514e2dd4212697b6bb9a8c3de4271003ac71cff8544698e95c

See more details on using hashes here.

File details

Details for the file tensorbank_dev-0.2.202007081820-py3-none-any.whl.

File metadata

File hashes

Hashes for tensorbank_dev-0.2.202007081820-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb8a325e3dcf96b1101c282a6b68261591e7be653e6c2c37d836d4195b32b50
MD5 0de1e1e1d9b40b9b4531ce821e91d06b
BLAKE2b-256 6820b8cde2ae7cdfecbddc8b45feac64e3bf041d791a5312ed4fb65a23288118

See more details on using hashes here.

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