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

Function loadLayers

assets/main.js:881–888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

879 weights,
880 layers: null,
881 async loadLayers() {
882 if (Array.isArray(this.layers) && this.layers.length) {
883 return this.layers;
884 }
885 const payload = await fetchSnapshotPayload(this.weights.url);
886 this.layers = decodeSnapshotLayers(payload, layerMetadata);
887 return this.layers;
888 },
889 };
890 return snapshot;
891 })

Callers

nothing calls this directly

Calls 2

fetchSnapshotPayloadFunction · 0.85
decodeSnapshotLayersFunction · 0.85

Tested by

no test coverage detected