nn_model_layer_shape

Function nn_model_layer_shape 

Source
pub unsafe extern "C" fn nn_model_layer_shape(
    model: *const NNModel,
    index: usize,
    n_dims: *mut usize,
) -> *const i32
Expand description

Returns the shape of a layer at the given index within the given model object.

@public @memberof NNModel @since 2.0