Commit b1de7ae0 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fix F811 flake8 warning (x1).

parent 357db709
...@@ -402,24 +402,6 @@ class XLNetModelTest(CommonTestCases.CommonModelTester): ...@@ -402,24 +402,6 @@ class XLNetModelTest(CommonTestCases.CommonModelTester):
[[self.seq_length, self.batch_size, self.hidden_size]] * self.num_hidden_layers, [[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( def create_and_check_xlnet_sequence_classif(
self, self,
config, config,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment