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

Method readSync

tfjs-core/src/engine.ts:1218–1222  ·  view source on GitHub ↗
(dataId: DataId)

Source from the content-addressed store, hash-verified

1216 }
1217
1218 readSync(dataId: DataId): BackendValues {
1219 // Route the read to the correct backend.
1220 const info = this.state.tensorInfo.get(dataId);
1221 return info.backend.readSync(dataId);
1222 }
1223 read(dataId: DataId): Promise<BackendValues> {
1224 // Route the read to the correct backend.
1225 const info = this.state.tensorInfo.get(dataId);

Callers 1

moveDataMethod · 0.95

Calls 2

readSyncMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected