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.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for tensor_canvas-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18104d8f9b67ae8d14f41941ce9a28c7872d55d4632dc49fd6f11b6b4ea75928 |
|
MD5 | 61285108de02134de05a335d3621a568 |
|
BLAKE2b-256 | 547b55e3881189e4dba1613d0c89b67601cfc8621cd8627e98fa29a8e9ad4f11 |