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

Method read

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

Source from the content-addressed store, hash-verified

216 dispose(): void {}
217
218 async read(dataId: DataId): Promise<backend_util.BackendValues> {
219 return this.readSync(dataId);
220 }
221
222 readSync(dataId: DataId): backend_util.BackendValues {
223 if (!this.tensorMap.has(dataId)) {

Callers

nothing calls this directly

Calls 1

readSyncMethod · 0.95

Tested by

no test coverage detected