ott.neural.networks.potentials.MLP.put_variable

ott.neural.networks.potentials.MLP.put_variable#

MLP.put_variable(col, name, value)#

Updates the value of the given variable if it is mutable, or an error otherwise.

Parameters:
  • col (str) – the variable collection.

  • name (str) – the name of the variable.

  • value (Any) – the new value of the variable.