MCPcopy Create free account
hub / github.com/apache/singa / grad_name

Method grad_name

python/singa/autograd.py:360–361  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

358 return self.name
359
360 def grad_name(self, idx):
361 return "{}_g".format(self.name)
362
363 def __getattr__(self, name):
364 return self.tensor.__getattribute__(name)

Callers 1

backwardFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected