CastBooleanToConstant

class aixd.sampler.operators.CastBooleanToConstant(arg1: Boolean)[source]

Bases: Arithmetic

Type casting operation. Only operates when the evaluate method is called.

Parameters:

arg1 (Boolean Arithmetic operator) – Operator to cast.

Methods

evaluate

Evaluate the operator with given data.

is_differentiable

Check if the operator is differentiable.

Inherited Methods

print_all

Print the operator and all its arguments.