time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (608B)


      1 
      2 {{alias}}( [dtype] )
      3     Returns a list of ndarray data types to which a provided ndarray data type
      4     can be safely cast.
      5 
      6     If not provided an ndarray data type, the function returns a casting table.
      7 
      8     If provided an unrecognized ndarray data type, the function returns `null`.
      9 
     10     Parameters
     11     ----------
     12     dtype: string (optional)
     13         ndarray data type.
     14 
     15     Returns
     16     -------
     17     out: Object|Array<string>|null
     18         ndarray data types to which a data type can be safely cast.
     19 
     20     Examples
     21     --------
     22     > var out = {{alias}}( 'float32' )
     23     <Array>
     24 
     25     See Also
     26     --------
     27