* Compute the cache key for a shape tuple. * * @param shape Array of dimension values. * @returns String key suitable for shapeCache lookup.
(shape: Array<number>)
| 160 | * @returns String key suitable for shapeCache lookup. |
| 161 | */ |
| 162 | static computeShapeKey(shape: Array<number>): string { |
| 163 | return shape.toString(); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Dispose all cached objects and clear all caches. |
no test coverage detected