lucidrains / x-transformers

A concise but complete full-attention transformer with a set of promising experimental features from various papers
MIT License
4.63k stars 395 forks source link

Small syntax error in LayerIntermediates #156

Closed prestonyun closed 1 year ago

prestonyun commented 1 year ago
@dataclass
class LayerIntermediates:
    hiddens: List[Tensor] = None,
    attn_intermediates: List[Intermediates] = None

The comma at the end of the line hiddens: List[Tensor] = None throws a syntax error. Thanks!

lucidrains commented 1 year ago

@prestonyun :man_facepalming: , thanks!