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

Method move

tfjs-backend-cpu/src/backend_cpu.ts:119–123  ·  view source on GitHub ↗
(
      dataId: DataId, values: backend_util.BackendValues, shape: number[],
      dtype: DataType, refCount: number)

Source from the content-addressed store, hash-verified

117 }
118
119 override move(
120 dataId: DataId, values: backend_util.BackendValues, shape: number[],
121 dtype: DataType, refCount: number): void {
122 this.data.set(dataId, {values, dtype, refCount});
123 }
124
125 override numDataIds(): number {
126 return this.data.numDataIds();

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected