MCPcopy Create free account
hub / github.com/ICTMCG/FakeSV / forward

Method forward

code/models/layers.py:13–15  ·  view source on GitHub ↗
(ctx, input_, alpha)

Source from the content-addressed store, hash-verified

11class ReverseLayerF(Function):
12 @staticmethod
13 def forward(ctx, input_, alpha):
14 ctx.alpha = alpha
15 return input_
16
17 @staticmethod
18 def backward(ctx, grad_output):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected