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

Method describeLayer

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

Source from the content-addressed store, hash-verified

2422 }
2423
2424 describeLayer(layerIndex) {
2425 if (layerIndex === 0) {
2426 return `Eingabeschicht (${this.mlp.architecture[layerIndex]} Knoten)`;
2427 }
2428 if (layerIndex === this.mlp.architecture.length - 1) {
2429 return `Ausgabeschicht (${this.mlp.architecture[layerIndex]} Knoten)`;
2430 }
2431 return `Verborgene Schicht ${layerIndex} (${this.mlp.architecture[layerIndex]} Knoten)`;
2432 }
2433
2434 getActivationName(layerIndex) {
2435 if (layerIndex === 0) return null;

Callers 1

buildSelectionDetailMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected