class_docstr: The Adam optimizer defined in https://arxiv.org/abs/1412.6980.
docstr: Initialize t, m, and u
docstr_tok: ["Initialize","t",",","m",",","and","u"]
code: def init_state(self, x):
      """
      Initialize t, m, and u
      """
      optim_state = {}
      optim_state["t"] = 0.0
      optim_state["m"] = [tf.zeros_like(v) for v in x]
      optim_state["u"] = [tf.zeros_like(v) for v in x]
      return optim_state
  
imports: import warnings
  import numpy
  from six.moves import xrange
  import tensorflow
  import tensorflow_addons
  from cleverhans.attacks.attack import Attack
  from cleverhans.compat import reduce_mean, reduce_sum, reduce_max
  from cleverhans.model import Model
  from cleverhans import utils_tf
label_desc: Use image node_id 2 for calling the TensorAdam obj's underlying member method code with example usage: obj.init_state(x) and returns: optim_state