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_weights()
quantize_weights()
reset_state()


keras3 documentation built on April 4, 2025, 12:32 a.m.