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

Method readMany

tfjs-converter/src/executor/tensor_array.ts:103–105  ·  view source on GitHub ↗

* Helper method to read multiple tensors from the specified indices.

(indices: number[])

Source from the content-addressed store, hash-verified

101 * Helper method to read multiple tensors from the specified indices.
102 */
103 readMany(indices: number[]): Tensor[] {
104 return indices.map(index => this.read(index));
105 }
106
107 /**
108 * Write value into the index of the TensorArray.

Callers 3

gatherMethod · 0.95
concatMethod · 0.95

Calls 1

readMethod · 0.95

Tested by

no test coverage detected