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

Method string_merge

tensorflow/python/framework/ops.py:140–144  ·  view source on GitHub ↗
(self, node_def)

Source from the content-addressed store, hash-verified

138 self.fast_string_merge = isinstance(self.function, pydev.MergeDevice)
139
140 def string_merge(self, node_def):
141 if self.fast_string_merge:
142 return self.function.shortcut_string_merge(node_def)
143
144 return compat.as_str(_device_string(self.function(node_def)))
145
146
147class NullContextmanager(object):

Callers 1

Calls 3

_device_stringFunction · 0.85
shortcut_string_mergeMethod · 0.80
functionMethod · 0.45

Tested by

no test coverage detected