mxtaltools.models.modules.augmented_softmax_aggregator
- class mxtaltools.models.modules.augmented_softmax_aggregator.AugSoftmaxAggregation(temperature: float = 1.0, learn: bool = True, semi_grad: bool = False, channels: int = 1, bias: float = 0.1)[source]
Bases:
AggregationThe softmax aggregation operator based on a temperature term, as described in the “DeeperGCN: All You Need to Train Deeper GCNs” paper.
Modified with learnable bias term
- class mxtaltools.models.modules.augmented_softmax_aggregator.VectorAugSoftmaxAggregation(temperature: float = 1.0, learn: bool = True, semi_grad: bool = False, channels: int = 1, bias: float = 0.1)[source]
Bases:
Aggregationadjusted to weigh by vector length rather than raw value