MCPcopy Index your code
hub / github.com/tensorflow/tfjs / read

Method read

tfjs-backend-cpu/src/backend_cpu.ts:129–131  ·  view source on GitHub ↗
(dataId: DataId)

Source from the content-addressed store, hash-verified

127 }
128
129 override async read(dataId: DataId): Promise<backend_util.BackendValues> {
130 return this.readSync(dataId);
131 }
132 override readSync(dataId: DataId): backend_util.BackendValues {
133 const {dtype, complexTensorInfos} = this.data.get(dataId);
134

Callers

nothing calls this directly

Calls 1

readSyncMethod · 0.95

Tested by

no test coverage detected