class_docstr: Update the variables in a session 
docstr: Args:
      prms(dict): dict of {variable name: value}
          Any name in prms must be in the graph and in vars_to_update.
docstr_tok: ["Args",":","prms","(","dict",")",":","dict","of","{","variable","name",":","value","}","Any","name","in","prms","must","be","in","the","graph","and","in","vars_to_update","."]
code: def update(self, prms):
      """
      Args:
          prms(dict): dict of {variable name: value}
              Any name in prms must be in the graph and in vars_to_update.
      """
      with self.sess.as_default():
          fetches = []
          feeds = {}
          for name, value in six.iteritems(prms):
              assert name in self.name_map
              var = self.name_map[name]
              value = SessionUpdate.relaxed_value_for_var(
                  value, var, ignore_mismatch=self.ignore_mismatch
              )
              # This is the implementation of `var.load`
              if value is not None:
                  fetches.append(var.initializer)
                  feeds[var.initializer.inputs[1]] = value
          self.sess.run(fetches, feed_dict=feeds)
  
imports: import glob
  import operator
  import numpy
  import os
  import pprint
  import six
  import tensorflow
  from ..compat import tfv1
  from ..utils import logger
  from .common import get_op_tensor_name
label_desc: Use image node_id 3 for calling the SessionUpdate obj's underlying member method code with example usage: obj.update(prms) without return types