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

Function _subscribe

tensorflow/tensorflow/python/framework/subscribe.py:217–256  ·  view source on GitHub ↗

Helper method that subscribes a single tensor to a list of side_effects. This method will check if the given tensor has already been subscribed or if it's a tensor returned by a previous call to `subscribe()` and, if so, will reuse the existing identity op, appending the given side effects to

(tensor, side_effects, control_cache)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_scoped_subscribeFunction · 0.85

Calls 5

_is_subscribed_identityFunction · 0.85
_subscribe_extendFunction · 0.85
_subscribe_newFunction · 0.85
formatMethod · 0.45
consumersMethod · 0.45

Tested by

no test coverage detected