MCPcopy Index your code
hub / github.com/apache/tvm / scalar

Method scalar

web/src/runtime.ts:1464–1466  ·  view source on GitHub ↗

* Create a new Scalar that can be passed to a PackedFunc. * @param value The number value. * @param dtype The dtype string. * @returns The created scalar.

(value: number, dtype: string)

Source from the content-addressed store, hash-verified

1462 * @returns The created scalar.
1463 */
1464 scalar(value: number, dtype: string): Scalar {
1465 return new Scalar(value, dtype);
1466 }
1467
1468 /**
1469 * Create a new {@link DLDevice}

Callers 6

tensorCacheUpdateMethod · 0.95
onFulfilledMethod · 0.95
onRejectedMethod · 0.95
timeExecutionMethod · 0.95
asyncInitServerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected