Fix ViTMAEModelTester (#17470)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -107,6 +107,10 @@ class TFViTMAEModelTester:
|
||||
num_hidden_layers=self.num_hidden_layers,
|
||||
num_attention_heads=self.num_attention_heads,
|
||||
intermediate_size=self.intermediate_size,
|
||||
decoder_hidden_size=self.hidden_size,
|
||||
decoder_num_hidden_layers=self.num_hidden_layers,
|
||||
decoder_num_attention_heads=self.num_attention_heads,
|
||||
decoder_intermediate_size=self.intermediate_size,
|
||||
hidden_act=self.hidden_act,
|
||||
hidden_dropout_prob=self.hidden_dropout_prob,
|
||||
attention_probs_dropout_prob=self.attention_probs_dropout_prob,
|
||||
|
||||
Reference in New Issue
Block a user