Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SooLab/CGFormer
/ PaddingStrategy
Class
PaddingStrategy
bert/tokenization_utils_base.py:93–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
92
93
class
PaddingStrategy(ExplicitEnum):
94
LONGEST =
"longest"
95
MAX_LENGTH =
"max_length"
96
DO_NOT_PAD =
"do_not_pad"
97
98
99
class
TensorType(ExplicitEnum):
Callers
1
_get_padding_truncation_strategies
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected