28 lines
608 B
Plaintext
28 lines
608 B
Plaintext
|
|
{{alias}}( [dtype] )
|
|
Returns a list of ndarray data types to which a provided ndarray data type
|
|
can be safely cast.
|
|
|
|
If not provided an ndarray data type, the function returns a casting table.
|
|
|
|
If provided an unrecognized ndarray data type, the function returns `null`.
|
|
|
|
Parameters
|
|
----------
|
|
dtype: string (optional)
|
|
ndarray data type.
|
|
|
|
Returns
|
|
-------
|
|
out: Object|Array<string>|null
|
|
ndarray data types to which a data type can be safely cast.
|
|
|
|
Examples
|
|
--------
|
|
> var out = {{alias}}( 'float32' )
|
|
<Array>
|
|
|
|
See Also
|
|
--------
|
|
|