xnn.common.finetune.freeze.count_parameters#

xnn.common.finetune.freeze.count_parameters(model, trainable_only=False)[source]#

Number of parameters of model (optionally only the trainable ones).

Parameters:
Return type:

int