Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm
/ gen_name
Function
gen_name
tests/scripts/ci.py:144–147 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
142
143
144
def
gen_name(s: str) -> str:
145
# random 4 letters
146
suffix =
""
.join([random.choice(string.ascii_lowercase)
for
i in range(5)])
147
return
f
"{s}-{suffix}"
148
149
150
def
docker(
Callers
3
docs
Function · 0.85
lint
Function · 0.85
fn
Function · 0.85
Calls
1
join
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…