Constant

class aixd.sampler.operators.Constant(value)[source]

Bases: Operator

Trivial operator, just returning the stored value.

Parameters:

valie (of an type, to be set as constant to for example evaluate an objective.) – The arguments to initialize the operator.

Methods

evaluate

Evaluate the operator with given data.

Inherited Methods

is_differentiable

Check if the operator is differentiable.

print_all

Print the operator and all its arguments.