Standard names for activation type
| 35 | |
| 36 | |
| 37 | class ActivationType(Type): |
| 38 | """Standard names for activation type |
| 39 | """ |
| 40 | SOFTMAX = "Softmax" |
| 41 | SIGMOID = "Sigmoid" |
| 42 | |
| 43 | @classmethod |
| 44 | def str(cls): |
| 45 | return ",".join([cls.SOFTMAX, |
| 46 | cls.SIGMOID]) |
| 47 | |
| 48 | |
| 49 | class FocalLoss(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected