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

Function _scoped_subscribe

tensorflow/tensorflow/python/framework/subscribe.py:290–309  ·  view source on GitHub ↗

Helper method that subscribes a single tensor to a list of side_effects. This is a thin wrapper around `_subscribe` and ensures that the side effect ops are added within the same device and control flow context of the subscribed tensor. Args: tensor: The `tf.Tensor` to be subscribed.

(tensor, side_effects, control_cache)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

subscribeFunction · 0.85

Calls 3

_subscribeFunction · 0.85
deviceMethod · 0.45

Tested by

no test coverage detected