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

Function _ParseTensorName

tensorflow/python/framework/importer.py:94–125  ·  view source on GitHub ↗

Parses a tensor name into an operation name and output index. This function will canonicalize tensor names as follows: * "foo:0" -> ("foo", 0) * "foo:7" -> ("foo", 7) * "foo" -> ("foo", 0) * "foo:bar:baz" -> ValueError Args: tensor_name: The name of a tensor.

(tensor_name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_CanonicalInputNameFunction · 0.85
import_graph_defFunction · 0.85
_IsImportedNodeOutputFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected