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

Method to_string

tensorflow/tensorflow/python/framework/device_spec.py:114–121  ·  view source on GitHub ↗

Return a string representation of this `DeviceSpec`. Returns: a string of the form /job: /replica: /task: /device: : .

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

__init__Method · 0.95
__eq__Method · 0.95
__call__Method · 0.45
_set_deviceMethod · 0.45
test_emptyMethod · 0.45
test_constructorMethod · 0.45
testto_stringMethod · 0.45
test_to_from_stringMethod · 0.45
test_combineMethod · 0.45
testMergeMethod · 0.45
_device_stringFunction · 0.45
canonical_nameFunction · 0.45

Calls

no outgoing calls

Tested by 7

test_emptyMethod · 0.36
test_constructorMethod · 0.36
testto_stringMethod · 0.36
test_to_from_stringMethod · 0.36
test_combineMethod · 0.36
testMergeMethod · 0.36
testContextMethod · 0.36