Visit library page - https://github.com/Rajsoni03/neuralplot
Try this out (Interactive plot is not supported in colab.)
for i, c in enumerate(['r', 'g', 'b']):
x,y,z = mat3dl(32, 32, 3, (i,i+1))
ax.scatter(x, z, y, c=c, marker='o')
plt.show()
layers = [(32, 32, 3, 'rgb', '.'),(16, 16, 5, 'r', '+'),(20,20,3,'y', 's'),(5,5,5),(10,1,1,'b', '^')]
neuralplot(layers)
layers = [(1, 32, 1, 'b','o'),(1, 32, 1, 'r', '.'),(1, 8, 1, 'g', '.'),(1, 12, 1, 'g', '.'),(1, 4, 1, 'm', 's')]
neuralplot(layers)
layers = [(4, 4, 3, 'rgb','s'),(2, 2, 2, 'y', 'o'),(3, 3, 3, 'g', '.'),(5, 5, 1, 'b', '.'),(2, 1, 1, 'b', '^')]
neuralplot(layers)
layers = [(8, 8, 1, 'r','o'),(4, 4, 2, 'g', '.'),(2, 2, 3, 'b', '.'),(5, 5, 2, 'y', '.'),(2, 1, 1, 'c', 's')]
neuralplot(layers)
from neuralplot import neuralplot
neuralplot(model=model, grid=True, connection=True, linewidth=0.1)
neuralplot(model=model, grid=False, connection=True, linewidth=0.1)