count_params: Count the total number of scalars composing the weights.

View source: R/layer-methods.R

count_paramsR Documentation

Count the total number of scalars composing the weights.

Description

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_input_at(), get_weights(), reset_states()


keras documentation built on May 29, 2024, 3:20 a.m.