A pair of forward and inverse activation functions.
| 23 | |
| 24 | |
| 25 | class ActivationPair(NamedTuple): |
| 26 | """A pair of forward and inverse activation functions.""" |
| 27 | |
| 28 | forward: ActivationFunction |
| 29 | inverse: ActivationFunction |
| 30 | |
| 31 | |
| 32 | def create_activation_pair(activation_type: ActivationType) -> ActivationPair: |
no outgoing calls
no test coverage detected