()
| 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 | }) |
nothing calls this directly
no test coverage detected