Skip to contents

Count the total number of scalars composing the weights.

Usage

count_params(object)

Arguments

object

Layer or model object

Value

An integer count

See also

Other layer methods:
get_config()
get_weights()
reset_state()