ConvBERT fix torch <> tf weights conversion (#10314)
* convbert conversion test * fin * fin * fin * clean up tf<->pt conversion * remove from_pt Co-authored-by: patrickvonplaten <patrick.v.platen@gmail.com>
This commit is contained in:
committed by
Lysandre
parent
cd48078ce5
commit
0d4c9808c4
@@ -384,8 +384,6 @@ class TFConvBertModelIntegrationTest(unittest.TestCase):
|
||||
expected_shape = [1, 6, 768]
|
||||
self.assertEqual(output.shape, expected_shape)
|
||||
|
||||
print(output[:, :3, :3])
|
||||
|
||||
expected_slice = tf.constant(
|
||||
[
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user