Count the total number of scalars composing the weights.

count_params(object)

Arguments

object

Layer or model object

Value

An integer count

See also