docstr: Initialize a param to init, and compute param += y.
docstr_tok: ["Initialize","a","param","to","init",",","and","compute","param","+=","y","."]
code: def _initAssignAddFetch(self, x, y, use_gpu):
      """Initialize a param to init, and compute param += y."""
      with test_util.device(use_gpu=use_gpu):
          p = variables.Variable(x)
          add = state_ops.assign_add(p, y)
          self.evaluate(p.initializer)
          new_value = self.evaluate(add)
          return self.evaluate(p), new_value
  
file_path: tensorflow/tensorflow/python/kernel_tests/variables/dense_update_ops_test.py
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the AssignOpTest obj's underlying member method code with example usage: obj._initAssignAddFetch(x, y, use_gpu) and returns: self,  new_value