Back to NDArray Operations
promote_dtype
Determine the common dtype when combining two dtypes (type promotion).
Syntax
promote_dtype(a: String, b: String) → r
Backends
TypeScriptnumwa
Description
Determine the common dtype when combining two dtypes (type promotion).
Parameters
| Name | Description |
|---|---|
| a | First dtype name |
| b | Second dtype name |
Returns
String name of the promoted dtype