Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/drinkingcoder/FlowFormer-Official
/ __init__
Method
__init__
train_FlowFormer.py:39–40 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
37
# dummy GradScaler for PyTorch < 1.6
38
class
GradScaler:
39
def
__init__(self):
40
pass
41
def
scale(self, loss):
42
return
loss
43
def
unscale_(self, optimizer):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected