Files
HuggingFace_transformer/tests/models
Mikkel Denker 70e7d1d656 Fixes torch jit tracing for LayoutLMv2 model (re-open) (#18313)
* Fixes torch jit tracing for LayoutLMv2 model.
Pytorch seems to reuse memory for input_shape which caused a mismatch in shapes later in the forward pass.

* Fixed code quality

* avoid unneeded allocation of vector for shape
2022-07-27 06:38:40 -04:00
..
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-01 16:27:23 +02:00
2022-07-13 18:04:08 +01:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-06-20 16:16:16 +02:00
2022-05-03 14:42:02 +02:00
2022-06-28 20:51:47 +02:00
2022-05-03 14:42:02 +02:00
2022-07-11 05:00:13 -04:00
2022-07-11 12:48:57 -04:00
2022-06-01 10:03:06 -04:00
2022-05-12 16:25:55 -04:00
2022-06-08 00:33:07 +02:00
2022-05-12 16:25:55 -04:00
2022-06-29 16:07:51 -04:00
2022-05-03 14:42:02 +02:00
2022-06-29 09:30:55 -04:00
2022-07-12 04:28:28 -04:00
2022-07-18 08:12:34 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-07-04 10:59:15 +01:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-24 16:26:14 +02:00
2022-05-03 14:42:02 +02:00
2022-06-24 11:34:51 +02:00
2022-07-11 05:00:13 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-06-24 11:34:51 +02:00
2022-05-03 14:42:02 +02:00