LOOM API – Python

Install from PyPI: pip install welvet. More details in the LOOM README and nn-readme under docs/readmes.

Quickstart:

from welvet import create_network_from_json, forward

net = create_network_from_json({"layers":[{"type":"dense","width":4,"height":2,"activation":"softmax"}]})
print(forward(net, [[0.1, 0.2, 0.3, 0.4]]))