Decrease refCount of a `TensorData`.
(dataId: DataId)
| 257 | |
| 258 | /** Decrease refCount of a `TensorData`. */ |
| 259 | decRef(dataId: DataId): void { |
| 260 | if (this.tensorMap.has(dataId)) { |
| 261 | const tensorData = this.tensorMap.get(dataId); |
| 262 | tensorData.refCount--; |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | override write(values: BackendValues, shape: number[], dtype: DataType): |
| 267 | DataId { |