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

Function _is_subscribed_identity

tensorflow/tensorflow/python/framework/subscribe.py:183–214  ·  view source on GitHub ↗

Checks if the given tensor is an identity op returned by `subscribe()`. Args: tensor: A `tf.Tensor` to check. Returns: True if the given tensor matches the criteria for subscription identies: its op type is `Identity`, its name matches the name of its input and conforms to the

(tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_subscribeFunction · 0.85

Calls 3

matchMethod · 0.45
groupMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected