Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ compute_gradients
Method
compute_gradients
tensorpack/tfutils/optimizer.py:28–29 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
26
27
@HIDE_DOC
28
def
compute_gradients(self, *args, **kwargs):
29
return
self._opt.compute_gradients(*args, **kwargs)
30
31
@HIDE_DOC
32
def
get_slot(self, *args, **kwargs):
Callers
1
compute_grad_from_inputs
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected