mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
![]() * 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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_feature_extraction_layoutlmv2.py | ||
test_modeling_layoutlmv2.py | ||
test_processor_layoutlmv2.py | ||
test_tokenization_layoutlmv2.py |