MCPcopy
hub / github.com/tensorflow/tfjs / getDataForFiles

Function getDataForFiles

tfjs-backend-webgpu/benchmarks/util.js:50–58  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

48}
49
50async function getDataForFiles(files) {
51 return Promise.all(files.map(
52 d =>
53 fetch(
54 `https://storage.googleapis.com/learnjs-data/webgpu_benchmark_logs/${
55 d}.json`)
56 .then(d => d.json())
57 .catch(err => console.log(err))));
58}
59
60function templateTimeSelection(start, end) {
61 startDateEl.innerHTML = start.format(MOMENT_DISPLAY_FORMAT);

Callers 1

Calls 3

allMethod · 0.80
logMethod · 0.65
fetchFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…