Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/huggingface/transformers
/ _get_library_name
Function
_get_library_name
src/transformers/utils/logging.py:76–77 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
75
76
def
_get_library_name() -> str:
77
return
__name__.split(
"."
)[0]
78
79
80
def
_get_library_root_logger() -> logging.Logger:
Callers
3
_get_library_root_logger
Function · 0.85
_configure_library_root_logger
Function · 0.85
get_logger
Function · 0.85
Calls
1
split
Method · 0.80
Tested by
no test coverage detected