Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ __call__
Method
__call__
python/singa/opt.py:33–35 ·
view source on GitHub ↗
(self, step)
Source
from the content-addressed store, hash-verified
31
self.init_value = init_value
32
33
def
__call__(self, step):
34
assert isinstance(step, Tensor)
35
return
self.call(step)
36
37
def
call(self, step) -> Tensor:
38
# step is a Tensor with a single scalar value
Callers
nothing calls this directly
Calls
1
call
Method · 0.95
Tested by
no test coverage detected