nn_model_layer_parameter_shape

Function nn_model_layer_parameter_shape 

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

Returns the shape of the model parameter for layer at index .

@ref nn_model_parameter_shape()

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

@public @memberof NNModel @since 2.4