pdft.coherence.FlatModulusCertificate#

class pdft.coherence.FlatModulusCertificate(holds, reason, mu, offending_indices=<factory>)[source]#

Bases: object

Whether mu == 1 holds over the whole reachable parameter set.

holds is the answer; reason says why in one line. mu is the coherence at the basis’s current parameters, and offending_indices names the trainable tensors that are not diagonal, which are exactly the ones that would have to be frozen for the guarantee to apply.

Parameters:
__init__(holds, reason, mu, offending_indices=<factory>)#
Parameters:
Return type:

None

Methods

__init__(holds, reason, mu[, offending_indices])

Attributes

holds: bool#
reason: str#
mu: float#
offending_indices: list[int]#