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

Method as_default

tensorflow/python/framework/ops.py:3286–3319  ·  view source on GitHub ↗

Returns a context manager that makes this `Graph` the default graph. This method should be used if you want to create multiple graphs in the same process. For convenience, a global default graph is provided, and all ops will be added to this graph if you do not create a new graph ex

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

run_graph_defFunction · 0.95
mainFunction · 0.95
setUpMethod · 0.95
create_test_network_1Function · 0.95
create_test_network_2Function · 0.95
create_test_network_3Function · 0.95
create_test_network_4Function · 0.95
create_test_network_5Function · 0.95
create_test_network_6Function · 0.95

Calls 1

get_controllerMethod · 0.80

Tested by 15

run_graph_defFunction · 0.76
setUpMethod · 0.76
create_test_network_1Function · 0.76
create_test_network_2Function · 0.76
create_test_network_3Function · 0.76
create_test_network_4Function · 0.76
create_test_network_5Function · 0.76
create_test_network_6Function · 0.76
test_constant_foldingMethod · 0.76