count_params

FullyConnected.count_params()

Count the total number of scalars composing the weights.

Returns:

An integer count.

Raises:

ValueError – if the layer isn’t yet built (in which case its weights aren’t yet defined).