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

Function copyArray

tfjs-backend-cpu/src/kernels/RaggedTensorToTensor_impl.ts:444–448  ·  view source on GitHub ↗
(dst: TypedArray, src: TypedArray, size: number)

Source from the content-addressed store, hash-verified

442}
443
444function copyArray(dst: TypedArray, src: TypedArray, size: number) {
445 for (let i = 0; i < size; i++) {
446 dst[i] = src[i];
447 }
448}
449
450function makeShape(shape: number[]|TypedArray, isPartial: boolean) {
451 const out: number[] = [];

Callers 1

setOutputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…