MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / getActivationName

Method getActivationName

assets/main.js:2434–2439  ·  view source on GitHub ↗
(layerIndex)

Source from the content-addressed store, hash-verified

2432 }
2433
2434 getActivationName(layerIndex) {
2435 if (layerIndex === 0) return null;
2436 const activation = this.mlp.layers?.[layerIndex - 1]?.activation;
2437 if (typeof activation !== "string") return null;
2438 return activation.toUpperCase();
2439 }
2440
2441 buildLayers() {
2442 const inputGeometry = new THREE.BoxGeometry(

Callers 1

buildSelectionDetailMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected