nn_model_parameter_data_str

Function nn_model_parameter_data_str 

Source
pub unsafe extern "C" fn nn_model_parameter_data_str(
    parameter: *const NNModelParameter,
    index: usize,
) -> *const c_char
Expand description

Returns parameter string data at desired index. This data handler is different from the others which return the array as strings are themselves arrays and need special handling. Refer to @ref nn_model_parameter_data_str_len() to query the size of the data_str array, which refers to the number of strings in this parameter.

@public @memberof NNModelParameter @since 2.4