MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / get_attr

Method get_attr

tensorflow/python/framework/ops.py:2031–2065  ·  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

testGetAttrMethod · 0.95
colocation_groupsMethod · 0.95
_get_test_attrsMethod · 0.45
testBasicMethod · 0.45
testDefaultAttrsAddedMethod · 0.45
matmul_shapeFunction · 0.45
conv2d_shapeFunction · 0.45
separable_conv2d_shapeFunction · 0.45
avg_pool_shapeFunction · 0.45
max_pool_shapeFunction · 0.45

Calls

no outgoing calls

Tested by 6

testGetAttrMethod · 0.76
_get_test_attrsMethod · 0.36
testBasicMethod · 0.36
testDefaultAttrsAddedMethod · 0.36