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]ΒΆ