Metadata-Version: 2.1
Name: tensorbank-dev
Version: 0.2.202007080435
Summary: a collection of assorted algorithms expressed in Tensors.  Dev package that pushes on green from master.
Home-page: http://github.com/pshved/tensorbank
License: MIT
Author: Paul Shved
Author-email: pavel.shved@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: numpy (>=1.19.0,<2.0.0)
Requires-Dist: tensorflow (>=2.0)
Project-URL: Documentation, https://tensorbank.readthedocs.io/
Project-URL: Repository, https://github.com/pshved/tensorbank
Description-Content-Type: text/markdown

# TensorBank

[![PyPI version](https://badge.fury.io/py/tensorbank.svg)](https://badge.fury.io/py/tensorbank)
[![Build Status](https://travis-ci.com/pshved/tensorbank.svg?branch=master)](https://travis-ci.com/pshved/tensorbank)
[![Documentation Status](https://readthedocs.org/projects/tensorbank/badge/?version=latest)](https://tensorbank.readthedocs.io/en/latest/?badge=latest)

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:

```python
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][api] for the full list of the algorithms
offered and comprehensive usage examples.

### Development version

[![PyPI version](https://badge.fury.io/py/tensorbank-dev.svg)](https://badge.fury.io/py/tensorbank-dev)

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

```
$ pip install tensorbank-dev
```


[api]: https://tensorbank.readthedocs.io/


