nn_model_layer_parameter_data_str

Function nn_model_layer_parameter_data_str 

Source
pub unsafe extern "C" fn nn_model_layer_parameter_data_str(
    model: *const NNModel,
    layer: usize,
    key: *const c_char,
    index: usize,
) -> *const c_char
Expand description

Returns string data for parameter at layer index for string array element . This is a convenience wrapper around acquiring the parameter followed by acquiring the data.

@ref nn_model_parameter_data_str()

Returns NULL if either the parameter is not found or the data is missing.

@public @memberof NNModel @since 2.4