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.4.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for tensor_canvas-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11523a6c92cb2fa8b6e9baf09007cca6a2ad0b7cdf9d014e2f9a6b7727f4a050 |
|
MD5 | 2a512bd65a9cab91c8d1d698ae740af0 |
|
BLAKE2b-256 | e761fbffe5b148a07dd3d0b61327d3e1db7b6ea3ffb5d020abd591449964a3f9 |