Socket
Socket
Sign inDemoInstall

tensorbank-dev

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tensorbank-dev

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


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc