MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / autocast

Class autocast

core/raft.py:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

forwardMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected