Protocols
Runtime-checkable structural typing protocols for the highFIS pipeline.
All protocols are decorated with @runtime_checkable so they can be used
with isinstance at runtime.
Protocols:
MembershipFn— any callable(x: Tensor) -> Tensorthat computes membership degrees. Satisfied by all classes inhighfis.memberships.TNorm— any callable(terms: Tensor) -> Tensorthat aggregates antecedent activations. Satisfied by T-norm classes inhighfis.t_norms.Defuzzifier— any callable(w: Tensor) -> Tensorthat normalizes rule firing strengths. Satisfied by all classes inhighfis.defuzzifiers.ConsequentFn— any callable(x: Tensor, norm_w: Tensor) -> Tensorthat computes the model output. Satisfied by consequent layers inhighfis.layers.
ConsequentFn
Bases: Protocol
Callable that computes consequent output from inputs and normalized strengths.