MCPcopy Create free account
hub / github.com/apple/axlearn / _concat

Function _concat

axlearn/common/utils.py:373–374  ·  view source on GitHub ↗
(*, prefix: str, suffix: str, separator: str)

Source from the content-addressed store, hash-verified

371
372
373def _concat(*, prefix: str, suffix: str, separator: str):
374 return f"{prefix}{separator}{suffix}" if prefix else f"{suffix}"
375
376
377def _key_entry_to_str(key_entry: KeyEntry) -> str:

Callers 1

prune_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected