pub unsafe extern "C" fn nn_model_resource(
    model: *const NNModel,
    name: *const c_char
) -> *const NNModelResource
Expand description

Retrieves a reference to the resource with the given name.

@param model pointer to the RTM model @param name the unique name of the resource

@returns an @ref NNModelResource pointer for the provided unique @p name. @returns NULL if either the @p model or @p name are invalid, NULL, or the @p name is not found.

@public @memberof NNModel @since 2.4