Added actual tensor displaying. Added more tests. Added select channels.

This commit is contained in:
simleek
2019-10-11 22:58:42 -07:00
parent 60a29ddd9c
commit a3ba16d56c
15 changed files with 413 additions and 70 deletions

View File

@ -1,9 +1,9 @@
from displayarray import display
import numpy as np
arr = np.random.normal(0.5, 0.1, (100, 100, 3))
arr = np.random.normal(0.5, 0.1, (100, 100, 5))
with display(arr) as displayer:
while displayer:
arr[:] += np.random.normal(0.001, 0.0005, (100, 100, 3))
arr[:] += np.random.normal(0.001, 0.0005, (100, 100, 5))
arr %= 1.0