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

Method incRef

tfjs-node/src/nodejs_kernel_backend.ts:265–267  ·  view source on GitHub ↗
(dataId: DataId)

Source from the content-addressed store, hash-verified

263 }
264
265 incRef(dataId: DataId) {
266 this.tensorMap.get(dataId).refCount++;
267 }
268
269 move(
270 dataId: DataId, values: backend_util.BackendValues, shape: number[],

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected