Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/oidn
/ get_path_ext
Function
get_path_ext
training/util.py:43–44 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
41
42
# Returns the extension of a path without the dot
43
def
get_path_ext(path):
44
return
os.path.splitext(path)[1][1:]
45
46
## -----------------------------------------------------------------------------
47
## File I/O
Callers
1
save_image
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected