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

Method pushAll

tfjs-data/src/util/ring_buffer.ts:115–119  ·  view source on GitHub ↗

* Adds many items to the end of the buffer, in order.

(values: T[])

Source from the content-addressed store, hash-verified

113 * Adds many items to the end of the buffer, in order.
114 */
115 pushAll(values: T[]) {
116 for (const value of values) {
117 this.push(value);
118 }
119 }
120
121 /**
122 * Removes and returns the last item in the buffer.

Callers 1

pumpMethod · 0.80

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected