Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ViMoGen
/ get_ar
Function
get_ar
datasets/aspect.py:20–22 ·
view source on GitHub ↗
(ratio)
Source
from the content-addressed store, hash-verified
18
19
20
def
get_ar(ratio):
21
h, w = ratio.split(
':'
)
22
return
int(h) / int(w)
23
24
25
# H:W
Callers
1
aspect.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected