Showing 11,634 of 11,634 total issues
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function call
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def call(self,
Function create_lm_model
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_lm_model(self,
Function test_attention_scores
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_attention_scores(self,
Function bert_pack_inputs
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def bert_pack_inputs(inputs: Union[tf.RaggedTensor, List[tf.RaggedTensor]],
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function create_layer
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_layer(self,
Function _init_token_ids
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _init_token_ids(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function test_transformer_xl_block
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_transformer_xl_block(
Function __call__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __call__(self, query, value, attention_mask, cache, decode_loop_step):
Function serve
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def serve(self, input_word_ids, input_mask, input_type_ids,
Function test_attention_scores
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_attention_scores(self,
Function call
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def call(self, query, value, key=None, attention_mask=None, **kwargs): # pytype: disable=signature-mismatch # overriding-parameter-count-checks
Function _compute_attention
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _compute_attention(
Function _compute_attention
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _compute_attention(self,
Function _compute_attention
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _compute_attention(self,
Function write_example_to_file
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def write_example_to_file(examples,
Function _create_fake_dataset
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_fake_dataset(output_path, seq_length, num_masked_tokens,
Function _create_a_and_b_segments
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_a_and_b_segments(