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

Function _subscribe_extend

tensorflow/tensorflow/python/framework/subscribe.py:155–180  ·  view source on GitHub ↗

Helper method to extend the list of side_effects for a subscribed tensor. Args: tensor: A `tf.Tensor` as returned by subscribe(). side_effects: List of side_effect functions, see subscribe for details. Returns: The given subscribed tensor (for API consistency).

(tensor, side_effects)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_subscribeFunction · 0.85

Calls 3

_add_control_inputsMethod · 0.80
formatMethod · 0.45
name_scopeMethod · 0.45

Tested by

no test coverage detected