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.5.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for tensor_canvas-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ed5d82707aae27f91eea2d12fedc51fbd578b20bdda2073e8e41fc6e6ff3a2 |
|
MD5 | 6ba4af7286fd7c870579903ce8128254 |
|
BLAKE2b-256 | 8b949413c9956956a744d72ef6317e436ceb112e9fc2fcc387b9c0c3e5905636 |