ParameterDict.get_constant(name, value=None)[source]
Retrieves a Constant with name self.prefix+name. If not found, get() will first try to retrieve it from “shared” dict. If still not found, get() will create a new Constant with key-word arguments and insert it to self.
Parameters: name (str) – Name of the desired Constant. It will be prepended with this dictionary’s prefix. value (array-like) – Initial value of constant. The created or retrieved Constant. Constant