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

Method getattr

python/singa/sonnx.py:1007–1008  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

1005 self.outputs = list(node.output)
1006
1007 def getattr(self, key, default=None):
1008 return self.attrs[key] if key in self.attrs else default
1009
1010 def set_attr_inputs(self, key, name):
1011 self.attr_inputs[key] = name

Callers 15

_create_depth_spaceMethod · 0.80
_create_padMethod · 0.80
_create_upsampleMethod · 0.80
_create_castMethod · 0.80
_create_splitMethod · 0.80
_create_leakyreluMethod · 0.80
_create_reduce_opsMethod · 0.80
_create_dropoutMethod · 0.80
_create_transposeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected