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

Method finalize

tensorflow/tensorflow/python/framework/ops.py:3081–3089  ·  view source on GitHub ↗

Finalizes this graph, making it read-only. After calling `g.finalize()`, no new operations can be added to `g`. This method is used to ensure that no operations are added to a graph when it is shared between multiple threads, for example when using a `tf.compat.v1.train.QueueRunner

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

testNoGraphPollutionMethod · 0.95
testMetaGraphSaveLoadMethod · 0.95
testFinalizedMethod · 0.95
testManySavesGraphMethod · 0.95
testManyRestoresGraphMethod · 0.95
testNoGraphPollutionMethod · 0.95

Calls

no outgoing calls

Tested by 6

testNoGraphPollutionMethod · 0.76
testMetaGraphSaveLoadMethod · 0.76
testFinalizedMethod · 0.76
testManySavesGraphMethod · 0.76
testManyRestoresGraphMethod · 0.76
testNoGraphPollutionMethod · 0.76