Skip to content

Any

Any

Bases: Hedge

Special hedge that always returns 1.0.

The antecedent of a rule considers Any to be a syntactically special hedge because it is not followed by a term (e.g., if Variable is any then... vs if Variable is very term then...)

The hedge is useful for better documenting rules.

related

Functions

hedge

hedge(x: Scalar) -> Scalar

Return scalar of same shape of x filled with 1.0.

Parameters:

Name Type Description Default
x Scalar

irrelevant except for its shape

required

Returns:

Type Description
Scalar

\(h(x)=1.0\)