MCPcopy Create free account
hub / github.com/alibaba/nann / get_attr

Method get_attr

tensorflow/tensorflow/python/framework/ops.py:2365–2402  ·  view source on GitHub ↗

Returns the value of the attr of this op with the given `name`. Args: name: The name of the attr to fetch. Returns: The value of the attr, as a Python object. Raises: ValueError: If this op does not have an attr with the given `name`.

(self, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

colocation_groupsMethod · 0.95
encode_argFunction · 0.45
create_opMethod · 0.45
testGetAttrMethod · 0.45
testSetAttrMethod · 0.45
_get_test_attrsMethod · 0.45
testBasicMethod · 0.45
testDefaultAttrsAddedMethod · 0.45
matmul_shapeFunction · 0.45
conv2d_shapeFunction · 0.45

Calls 1

ParseFromStringMethod · 0.45

Tested by 6

testGetAttrMethod · 0.36
testSetAttrMethod · 0.36
_get_test_attrsMethod · 0.36
testBasicMethod · 0.36
testDefaultAttrsAddedMethod · 0.36