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.

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.202007080325.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: tensorbank-dev-0.2.202007080325.tar.gz
  • Upload date:
  • Size: 6.9 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.202007080325.tar.gz
Algorithm Hash digest
SHA256 e1988d4fd78f32dfacea62c471420e2fe17767d8b0ab4e817616f48815b9190d
MD5 d0d008e13d27c2efee1e60190f9a278f
BLAKE2b-256 93133aaf5869b61a1a662a7eecf3afeee1dc7c4f9a3b607b145c3740f8cb4bcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensorbank_dev-0.2.202007080325-py3-none-any.whl
Algorithm Hash digest
SHA256 03229c104b0fcdf62fa9e200fe45e5eae4144becd8ed7676fc4a5f956097ee4f
MD5 5b6da64d07503ae98bf8612110adf871
BLAKE2b-256 9a1f5fcc6c4edd449ffc1a72372ba417a5bef1f6a988d588dce31b556a29665c

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