thunder.core.proxies.FloatProxy
- class thunder.core.proxies.FloatProxy(name=None, value=None, history=None, constraint=None, tags=None)[source]
Bases:
NumberProxy- __init__(name=None, value=None, history=None, constraint=None, tags=None)[source]
Methods
__init__([name, value, history, constraint, ...])get_default_prefix()- rtype:
is_dynamic()- rtype:
is_static_constrained()- rtype:
known_value()- rtype:
make_constrainable()make_static_constrained()replace(**changes)Return a copy of the FloatProxy object with new values for the specified fields as given to the constructor as arguments.
replace_name([name, disambiguate])Return a copy of this proxy with the given name.
type_string()Attributes
nameprefixReturn the prefix for this proxy instance.
tags- replace(**changes)[source]
Return a copy of the FloatProxy object with new values for the specified fields as given to the constructor as arguments. Valid keyword arguments are
name,history,value,constraint. Note that the copy will use the current (environment) tracectx.
Was this page helpful?
Thanks for the feedback.