Skip to main content

hurray_descriptor_rank

Function hurray_descriptor_rank 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn hurray_descriptor_rank( handle: *const HurrayDescriptor, out_rank: *mut u32, ) -> HurrayStatus
Expand description

Reads the rank (number of dimensions) of the tensor descriptor.

ยงSafety

handle and out_rank MUST be valid, non-null pointers.