Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jindongwang/transferlearning
/ backward
Method
backward
code/DeepDG/network/Adver_network.py:13–15 ·
view source on GitHub ↗
(ctx, grad_output)
Source
from the content-addressed store, hash-verified
11
12
@staticmethod
13
def
backward(ctx, grad_output):
14
output = grad_output.neg() * ctx.alpha
15
return
output, None
16
17
18
class
Discriminator(nn.Module):
Callers
11
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
teanettrain
Method · 0.45
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
update
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected