check_no_duplicated_parameters

check_no_duplicated_parameters#

penzai.deprecated.v1.nn.parameters.check_no_duplicated_parameters(model: Any) None[source]#

Checks that there are no duplicated parameters in a model.

Parameters:

model – An arbitrary model.

Raises:
  • ValueError – If two concrete parameters (parameters with a value) have the

  • same name.