class_docstr: Holds callbacks that are notified when TensorVariable are used.
class_docstr_tok: ["Holds","callbacks","that","are","notified","when","TensorVariable","are","used","."]
code: def __init__(self):
      super().__init__()
      self._recording = False
      self._callbacks = []
  
imports: import collections
  import functools
  import itertools
  import threading
  import contextlib
  from sonnet.src.functional import utils
  import tensorflow
label_desc: Use image node_id 1 to create a new TensorVariableCallbacks object from inherited base classes: threading with example: obj = TensorVariableCallbacks()