Count the total number of scalars composing the weights.

count_params(object)

Arguments

object

Layer or model object

Value

An integer count

See also

Other layer methods: get_config(), get_input_at(), get_weights(), reset_states()