MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / version

Method version

tensorflow/python/framework/ops.py:3037–3050  ·  view source on GitHub ↗

Returns a version number that increases as ops are added to the graph. Note that this is unrelated to the `tf.Graph.graph_def_versions`. Returns: An integer version that increases as ops are added to the graph.

(self)

Source from the content-addressed store, hash-verified

3035
3036 @property
3037 def version(self):
3038 """Returns a version number that increases as ops are added to the graph.
3039
3040 Note that this is unrelated to the
3041 `tf.Graph.graph_def_versions`.
3042
3043 Returns:
3044 An integer version that increases as ops are added to the graph.
3045 """
3046 if self._finalized:
3047 return self._version
3048
3049 with self._lock:
3050 return self._version
3051
3052 @property
3053 def graph_def_versions(self):

Callers 14

gather_platform_infoFunction · 0.45
CheckOpDeprecationFunction · 0.45
NewSessionMethod · 0.45
NewSessionGroupMethod · 0.45
GetMetadataKeyMethod · 0.45
RunInternalMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
MergeOneBundleFunction · 0.45
BundleReaderMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36