quantifiers

Description

Base classes and simple implementations for standard quantifiers.

Classes

ALL

Reduce a single tensor along given dimensions using logical AND.

ANY

Reduce a single tensor along given dimensions using logical OR.

AbstractQuantifier

Abstract base class for quantifiers accepting one tensor/list that is to reduce along a dimension.

AbstractTorchOrNumpyQuantifier

Abstract base class for reducing torch tensors along given dimensions.

WHERE

Filter the dimensions in tensor a by the boolean values given in cond.