mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Ooopsie
This commit is contained in:
parent
70d97ddd60
commit
9d2398fd99
@ -367,7 +367,7 @@ class TFCommonTestCases:
|
||||
model = model_class(config)
|
||||
assert isinstance(model.get_input_embeddings(), tf.keras.layers.Layer)
|
||||
x = model.get_output_embeddings()
|
||||
assert x is None or instanceof(x, tf.keras.layers.Layer)
|
||||
assert x is None or isinstance(x, tf.keras.layers.Layer)
|
||||
|
||||
|
||||
def test_tie_model_weights(self):
|
||||
|
Loading…
Reference in New Issue
Block a user