Fix F811 flake8 warning (x1).

This commit is contained in:
Aymeric Augustin 2019-12-21 17:59:13 +01:00
parent 357db7098c
commit b1de7ae08a

View File

@ -402,24 +402,6 @@ class XLNetModelTest(CommonTestCases.CommonModelTester):
[[self.seq_length, self.batch_size, self.hidden_size]] * self.num_hidden_layers,
)
def prepare_config_and_inputs_for_common(self):
config_and_inputs = self.prepare_config_and_inputs()
(
config,
input_ids_1,
input_ids_2,
input_ids_q,
perm_mask,
input_mask,
target_mapping,
segment_ids,
lm_labels,
sequence_labels,
is_impossible_labels,
) = config_and_inputs
inputs_dict = {"input_ids": input_ids_1}
return config, inputs_dict
def create_and_check_xlnet_sequence_classif(
self,
config,