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

Method register

tensorflow/python/framework/registry.py:45–68  ·  view source on GitHub ↗

Registers a Python object "candidate" for the given "name". Args: candidate: The candidate object to add to the registry. name: An optional string specifying the registry key for the candidate. If None, candidate.__name__ will be used. Raises: KeyError: If same

(self, candidate, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testRegisterClassMethod · 0.95
testRegisterFunctionMethod · 0.95
testDuplicateMethod · 0.95
mainFunction · 0.80
compute_rf.pyFile · 0.80
rf_benchmark.pyFile · 0.80
mnist.pyFile · 0.80

Calls

no outgoing calls

Tested by 4

testRegisterClassMethod · 0.76
testRegisterFunctionMethod · 0.76
testDuplicateMethod · 0.76
GetTempDirFunction · 0.64