sponge.colvar.ConstantValue

View Source On Gitee
class sponge.colvar.ConstantValue(value: Union[Tensor, ndarray, list, tuple], name: str = 'constant')[source]

Constant value.

Parameters
  • value (Union[Tensor, ndarray, list, tuple]) – Constant value.

  • name (str) – Name of the Colvar. Default: 'constant'

Supported Platforms:

Ascend GPU CPU