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

Function fetchNetworkDefinition

assets/main.js:664–670  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

662}
663
664async function fetchNetworkDefinition(url) {
665 const response = await fetch(url, { cache: "no-store" });
666 if (!response.ok) {
667 throw new Error(`Netzwerkgewichte konnten nicht geladen werden (${response.status})`);
668 }
669 return response.json();
670}
671
672function renderErrorMessage(message) {
673 const chart = document.getElementById("predictionChart");

Callers 1

initializeVisualizerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected