Skip to main content

hurray_item_node_count

Function hurray_item_node_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn hurray_item_node_count( handle: *const HurrayItem, out_count: *mut u64, ) -> HurrayStatus
Expand description

How many nodes the item has in total, counting the root and every nested member.

1 for a plain tensor.

ยงSafety

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