# arrayfire.util module

Utility functions to help with Array metadata.

`arrayfire.util.``dim4`(d0=1, d1=1, d2=1, d3=1)

`arrayfire.util.``dim4_to_tuple`(dims, default=1)

`arrayfire.util.``get_reversion`()

  Function to get the revision hash of the library.

`arrayfire.util.``get_version`()

  Function to get the version of arrayfire.

`arrayfire.util.``implicit_dtype`(number, a_dtype)

`arrayfire.util.``number_dtype`(a)

`arrayfire.util.``safe_call`(af_error)

`arrayfire.util.``to_str`(c_str)