Supported Data Types

arrayfire_wrapper.b8 = arrayfire.bool(typecode<b>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.u8 = arrayfire.uint8(typecode<B>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.u16 = arrayfire.uint16(typecode<H>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.u32 = arrayfire.uint32(typecode<I>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.u64 = arrayfire.uint64(typecode<L>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.s16 = arrayfire.int16(typecode<h>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.s32 = arrayfire.int32(typecode<i>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.s64 = arrayfire.int64(typecode<l>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.f16 = arrayfire.float16(typecode<e>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.f32 = arrayfire.float32(typecode<f>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.f64 = arrayfire.float64(typecode<d>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.c32 = arrayfire.complex64(typecode<F>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)

arrayfire_wrapper.c64 = arrayfire.complex128(typecode<D>)

Dtype(name: ‘str’, typecode: ‘str’, c_type: ‘CType’, typename: ‘str’, c_api_value: ‘int’)