Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yerfor/GeneFacePlusPlus
/ backward
Method
backward
modules/radnerfs/utils.py:45–47 ·
view source on GitHub ↗
(ctx, g)
Source
from the content-addressed store, hash-verified
43
@staticmethod
44
@custom_bwd
45
def
backward(ctx, g):
46
x = ctx.saved_tensors[0]
47
return
g * torch.exp(x.clamp(-15, 15))
48
49
trunc_exp = _trunc_exp.apply
50
Callers
2
run_training_batch
Method · 0.45
fit_3dmm_for_a_video
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected