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

Method set

tfjs-core/src/backends/backend.ts:60–63  ·  view source on GitHub ↗
(dataId: DataId, value: T)

Source from the content-addressed store, hash-verified

58 }
59
60 set(dataId: DataId, value: T): void {
61 this.dataIdsCount++;
62 this.data.set(dataId, value);
63 }
64
65 has(dataId: DataId): boolean {
66 return this.data.has(dataId);

Callers 12

eye_Function · 0.45
topk_test.tsFile · 0.45
sliceMethod · 0.45
encodeWeightsFunction · 0.45
readToLengthFunction · 0.45
concatenateTypedArraysFunction · 0.45
whereImplFunction · 0.45
_testSetTimeoutCustomFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected