class_docstr: A transparent proxy which delegates all methods of :class:`tf.train.Optimizer`
class_docstr_tok: ["A","transparent","proxy","which","delegates","all","methods","of",":","class",":","`","tf.train.Optimizer","`"]
code: def __init__(self, opt, name="ProxyOptimizer"):
      assert isinstance(opt, tfv1.train.Optimizer), opt
      super(ProxyOptimizer, self).__init__(False, name)
      self._opt = opt
  
imports: from contextlib import contextmanager
  import tensorflow
  from ..tfutils.common import get_tf_version_tuple
  from ..compat import tfv1
  from ..utils.develop import HIDE_DOC
  from .gradproc import FilterNoneGrad, GradientProcessor
label_desc: Use image node_id 1 to create a new ProxyOptimizer object from inherited base classes: tfv1.train with example: obj = ProxyOptimizer(opt, name)