firecrown.parameters.SamplerParameter

class firecrown.parameters.SamplerParameter[source]

Bases: object

Class to represent a sampler defined parameter.

Public Methods:

__init__()

Creates a new SamplerParameter instance that represents a parameter having its value defined by the sampler.

set_value(value)

Set the value of this parameter.

get_value()

Get the current value of this parameter.


get_value()[source]

Get the current value of this parameter.

Return type

float

set_value(value)[source]

Set the value of this parameter.

Parameters

value (float) – new value