LOOM API – JavaScript / TypeScript
Install from npm: npm install @openfluke/welvet.
Quickstart:
import { createNetworkFromJSON, forward } from "@openfluke/welvet";
const net = createNetworkFromJSON({
layers: [
{ type: "dense", width: 4, height: 8, activation: "relu" },
{ type: "dense", width: 8, height: 2, activation: "softmax" },
],
});
console.log(forward(net, [[0.1, 0.2, 0.3, 0.4]]));