No project description provided
Project description
Tensor Canvas
A 2D graphics library for drawing directly onto tensors.
Uses eagerpy to support a uniform API for pytorch, tensorflow, jax, and numpy backends.
Tensor Canvas uses SDF representations for easy implementation in gpu-accelerated frameworks.
Highly inefficient compared to standard gpu rendering, but much better than matplotlib. Integration with ML frameworks also means it is fully-differentiable.
Example
import tensorcanvas as tc
import torch
import tensorflow as tf
import numpy as np
Notebook Example
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tensor-canvas-0.1.3.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for tensor_canvas-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91033f7707a77f25104443dd593c647654615add2495d6497bf972d698c54f61 |
|
MD5 | cbc4b7716fdc543c6d8b1723a426b7d8 |
|
BLAKE2b-256 | e10206a550c47b247fab6fcab793ccc1f1f61f504b24d797c49b943b3593a826 |