* Update the tensor cache. * @param name The name of the array. * @param arr The content.
(name: string, arr: Tensor, override = false)
| 1242 | * @param arr The content. |
| 1243 | */ |
| 1244 | tensorCacheUpdate(name: string, arr: Tensor, override = false) { |
| 1245 | this.ctx.tensorCacheUpdate(name, arr, this.scalar(override ? 1 : 0, "int32")); |
| 1246 | } |
| 1247 | |
| 1248 | /** |
| 1249 | * Clear the tensor cache. |
no test coverage detected