nn_model_layer_parameter_data_i16

Function nn_model_layer_parameter_data_i16 

Source
pub unsafe extern "C" fn nn_model_layer_parameter_data_i16(
    model: *const NNModel,
    layer: usize,
    key: *const c_char,
    length: *mut usize,
) -> *const i16
Expand description

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

@ref nn_model_parameter_data_i16()

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

@public @memberof NNModel @since 2.4