Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ clear_cache
Function
clear_cache
diffusers/examples/community/fresco_v2v.py:52–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
51
52
def
clear_cache():
53
gc.collect()
54
torch.cuda.empty_cache()
55
56
57
def
coords_grid(b, h, w, homogeneous=False, device=None):
Callers
3
get_intraframe_paras
Function · 0.85
get_flow_and_interframe_paras
Function · 0.85
__call__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected