R/layer-methods.R

count_params

Count the total number of scalars composing the weights.

Description

Count the total number of scalars composing the weights.

Usage

 
count_params(object) 

Arguments

Arguments Description
object Layer or model object

Value

An integer count

See Also

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