mfinzi/OMGchess

View on GitHub
chess/transformer.py

Summary

Maintainability
A
1 hr
Test Coverage

Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(self,hidden_dim,vocab_size,num_blocks,inner_dim,num_heads=4,embed_dim=16,dropout=0):
Severity: Major
Found in chess/transformer.py - About 50 mins to fix

    Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(self,hidden_dim,inner_dim,num_heads=4,dropout=0,rel_pos=True):
    Severity: Minor
    Found in chess/transformer.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status