MCPcopy Index your code
hub / github.com/tensorflow/tfjs / array

Function array

tfjs-data/src/dataset.ts:581–584  ·  view source on GitHub ↗
(items: T[])

Source from the content-addressed store, hash-verified

579 * @doc {heading: 'Data', subheading: 'Creation', namespace: 'data'}
580 */
581export function array<T extends tf.TensorContainer>(items: T[]): Dataset<T> {
582 return datasetFromIteratorFn(
583 async () => iteratorFromItems(items), items.length);
584}
585
586/**
587 * Create a `Dataset` by zipping together an array, dict, or nested

Callers 2

dataset_test.tsFile · 0.90

Calls 2

iteratorFromItemsFunction · 0.90
datasetFromIteratorFnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…