nn_model_resource_at

Function nn_model_resource_at 

Source
pub unsafe extern "C" fn nn_model_resource_at(
    model: *const NNModel,
    index: usize,
) -> *const NNModelResource
Expand description

Retrieves a reference to the resource at the provided index.

@param model pointer to the RTM model @param index resource index

@returns an @ref NNModelResource pointer for the provided @p index in the given model. @returns NULL if either the model or index are invalid.

@public @memberof NNModel @since 2.4