arrayfire.util module

Utility functions to help with Array metadata.

arrayfire.util.dim4(d0=1, d1=1, d2=1, d3=1)[source]
arrayfire.util.dim4_to_tuple(dims, default=1)[source]
arrayfire.util.get_reversion()[source]

Function to get the revision hash of the library.

arrayfire.util.get_version()[source]

Function to get the version of arrayfire.

arrayfire.util.implicit_dtype(number, a_dtype)[source]
arrayfire.util.number_dtype(a)[source]
arrayfire.util.safe_call(af_error)[source]
arrayfire.util.to_str(c_str)[source]