class_docstr: Base class of Crosstalk.
  Please refer to crosstalk unittests for examples of how to exchange/compare values between different toolkits.
class_docstr_tok: ["Base","class","of","Crosstalk",".","Please","refer","to","crosstalk","unittests","for","examples","of","how","to","exchange\/compare","values","between","different","toolkits","."]
docstr: Add variables to watch with a unique name.
  
  Args:
      var: Variable to watch. The type is toolkit specific
      name (`str`): A unique name of the watched variable
      var_type : Variable type for set/get value callback. would be type of var if None is specified
      attr : attributes for the variable that would be used when getting/setting values. Could be one of Conv2DAttr/EmbedAttr/RnnAttr
docstr_tok: ["Add","variables","to","watch","with","a","unique","name",".","Args",":","var",":","Variable","to","watch",".","The","type","is","toolkit","specific","name","(","`","str","`",")",":","A","unique","name","of","the","watched","variable","var_type",":","Variable","type","for","set\/get","value","callback",".","would","be","type","of","var","if","None","is","specified","attr",":","attributes","for","the","variable","that","would","be","used","when","getting\/setting","values",".","Could","be","one","of","Conv2DAttr\/EmbedAttr\/RnnAttr"]
code: def watch(self, var, name, var_type=None, attr=None):
      """
      Add variables to watch with a unique name.
  
      Args:
          var: Variable to watch. The type is toolkit specific
          name (`str`): A unique name of the watched variable
          var_type : Variable type for set/get value callback. would be type of var if None is specified
          attr : attributes for the variable that would be used when getting/setting values. Could be one of Conv2DAttr/EmbedAttr/RnnAttr
      """
      if name in self.vars.keys():
          raise Exception(
              "var with name {} already exists".format(name)
          )
      self.vars[name] = _VarInfo(
          var, var_type if var_type else type(var), attr
      )
  
imports: import os
  import pickle
  import numpy
  from collections import namedtuple
label_desc: Use image node_id 4 for calling the Crosstalk obj's underlying member method code with example usage: obj.watch(var, name, var_type, attr) without return types