MCPcopy Create free account
hub / github.com/apache/tvm / computeShapeKey

Method computeShapeKey

web/src/cache_state.ts:162–164  ·  view source on GitHub ↗

* Compute the cache key for a shape tuple. * * @param shape Array of dimension values. * @returns String key suitable for shapeCache lookup.

(shape: Array<number>)

Source from the content-addressed store, hash-verified

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.

Callers 1

makeShapeTupleMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected