MCPcopy Create free account
hub / github.com/tensorflow/tfjs / range

Function range

tfjs-data/src/iterators/file_chunk_iterator_test.ts:22–24  ·  view source on GitHub ↗
(start: number, end: number)

Source from the content-addressed store, hash-verified

20import {FileChunkIterator} from './file_chunk_iterator';
21
22const range = (start: number, end: number) => {
23 return Array.from({length: (end - start)}, (v, k) => k + start);
24};
25
26const testData = env().get('IS_BROWSER') ?
27 new Blob([new Uint8Array(range(0, 55))]) :

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…