Showing 11,634 of 11,634 total issues
Function _split_a_and_b
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _split_a_and_b(data, sent_ids, begin_idx, tot_len, extend_target=False):
Function _local_perm
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _local_perm(inputs, targets, is_masked, perm_size, seq_len):
Function input_fn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def input_fn(is_training, data_dir, batch_size, *args, **kwargs):
Function _online_sample_masks
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _online_sample_masks(inputs,
Function _idx_pair_to_mask
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _idx_pair_to_mask(beg_indices, end_indices, inputs, tgt_len, num_predict):
Function _sample_mask_ngram
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _sample_mask_ngram(sp, seg, reverse=False, max_gram=5,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function _shift_bbox
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _shift_bbox(bbox, image_height, image_width, pixels, shift_horizontal):
Function build_anchor_generator
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_anchor_generator(
Function call
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def call(self,
Function predict_squad_customized
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def predict_squad_customized(strategy, input_meta_data, predict_tfrecord_path,
Function _check_bbox_area
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _check_bbox_area(min_y, min_x, max_y, max_x, delta=0.05):
Function random_crop_image
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def random_crop_image(
Function get_pretrain_dataset_fn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_pretrain_dataset_fn(input_file_pattern, seq_length,
Function bbox2mask
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def bbox2mask(bbox: tf.Tensor,
Function indices_to_dense_vector
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def indices_to_dense_vector(indices,
Function get_predictions_and_labels
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_predictions_and_labels(strategy,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function export_bert_tfhub
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def export_bert_tfhub(bert_config: configs.BertConfig,