MCPcopy Create free account
hub / github.com/drinkingcoder/FlowFormer-Official / autocast

Class autocast

core/raft.py:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13except:
14 # dummy autocast for PyTorch < 1.6
15 class autocast:
16 def __init__(self, enabled):
17 pass
18 def __enter__(self):
19 pass
20 def __exit__(self, *args):
21 pass
22
23
24class RAFT(nn.Module):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected