gt4sd.algorithms.conditional_generation.template.implementation module¶
Implementation details for a Template algorithm
Summary¶
Classes:
Basic Generator for the template algorithm |
Reference¶
- class Generator(resources_path, temperature)[source]¶
Bases:
object
Basic Generator for the template algorithm
- __init__(resources_path, temperature)[source]¶
Initialize the Generator.
- Parameters
resources_path (
str
) – directory where to find models and parameters.
- hello_name(name)[source]¶
Validate a list of strings.
- Parameters
name (
str
) – a string.- Return type
List
[str
]- Returns
a list containing salutation and temperature converted to fahrenheit.
- __dict__ = mappingproxy({'__module__': 'gt4sd.algorithms.conditional_generation.template.implementation', '__doc__': 'Basic Generator for the template algorithm', '__init__': <function Generator.__init__>, 'hello_name': <function Generator.hello_name>, '__dict__': <attribute '__dict__' of 'Generator' objects>, '__weakref__': <attribute '__weakref__' of 'Generator' objects>, '__annotations__': {}})¶
- __doc__ = 'Basic Generator for the template algorithm'¶
- __module__ = 'gt4sd.algorithms.conditional_generation.template.implementation'¶
- __weakref__¶
list of weak references to the object (if defined)