Standard names for region embedding type
| 128 | |
| 129 | |
| 130 | class RegionEmbeddingType(Type): |
| 131 | """Standard names for region embedding type |
| 132 | """ |
| 133 | WC = 'word_context' |
| 134 | CW = 'context_word' |
| 135 | |
| 136 | @classmethod |
| 137 | def str(cls): |
| 138 | return ",".join([cls.WC, cls.CW]) |
| 139 | |
| 140 | |
| 141 | class RegionEmbeddingLayer(torch.nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected