Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ _split_scope
Function
_split_scope
python/ctranslate2/specs/model_spec.py:47–48 ·
view source on GitHub ↗
(scope)
Source
from the content-addressed store, hash-verified
45
46
47
def
_split_scope(scope):
48
return
scope.split(
"/"
)
49
50
51
def
_parent_scope(scope):
Callers
4
_parent_scope
Function · 0.85
index_spec
Function · 0.85
_check
Method · 0.85
_quantize
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected