nn_context_sizeof

Function nn_context_sizeof 

Source
pub unsafe extern "C" fn nn_context_sizeof() -> usize
Expand description

Returns the actual size of the context structure. This size will be smaller than @ref NN_CONTEXT_SIZEOF which contains additional padding for future extension. Since @ref nn_context_sizeof() is called dynamically at runtime it can return the true and unpadded size.

@public @memberof NNContext @since 2.0