Method
readToGPU
(dataId: DataId, options?: DataToGPUOptions)
Source from the content-addressed store, hash-verified
| 1227 | } |
| 1228 | |
| 1229 | readToGPU(dataId: DataId, options?: DataToGPUOptions): GPUData { |
| 1230 | // Route the read to the correct backend. |
| 1231 | const info = this.state.tensorInfo.get(dataId); |
| 1232 | return info.backend.readToGPU(dataId, options); |
| 1233 | } |
| 1234 | |
| 1235 | async time(query: () => void): Promise<TimingInfo> { |
| 1236 | const start = now(); |
Callers
nothing calls this directly
Tested by
no test coverage detected