MCPcopy 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
47def _split_scope(scope):
48 return scope.split("/")
49
50
51def _parent_scope(scope):

Callers 4

_parent_scopeFunction · 0.85
index_specFunction · 0.85
_checkMethod · 0.85
_quantizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected