class_docstr: Image Style Loss.
  
  A variant of style component of Artistic Image Style Transfer loss,
  mainly inspired by [1].
  
  [1] Leon A. Gatys et al. "A Neural Algorithm of Artistic Style"
      https://arxiv.org/abs/1508.06576
docstr: Set target style variables.
  
  Expected usage: 
    style_loss = StyleLoss(style_layers)
    ...
    init_op = tf.global_variables_initializer()
    init_op.run()
    
    feeds = {... session.run() 'feeds' argument that will make 'style_layers'
             tensors evaluate to activation values of style image...}
    style_loss.set_style(feeds)  # this must be called after 'init_op.run()'
docstr_tok: ["Set","target","style","variables",".","Expected","usage",":","style_loss","=","StyleLoss","(","style_layers",")","...","init_op","=","tf.global_variables_initializer","(",")","init_op.run","(",")","feeds","=","{","...","session.run","(",")","'feeds","'","argument","that","will","make","'style_layers'","tensors","evaluate","to","activation","values","of","style","image","...","}","style_loss.set_style","(","feeds",")","#","this","must","be","called","after","'init_op.run","(",")","'"]
code: def set_style(self, input_feeds):
      """Set target style variables.
  
      Expected usage:
        style_loss = StyleLoss(style_layers)
        ...
        init_op = tf.global_variables_initializer()
        init_op.run()
  
        feeds = {... session.run() 'feeds' argument that will make 'style_layers'
                 tensors evaluate to activation values of style image...}
        style_loss.set_style(feeds)  # this must be called after 'init_op.run()'
      """
      sess = tf.get_default_session()
      computed = sess.run(self.input_grams, input_feeds)
      for v, g in zip(self.target_vars, computed):
          v.load(g)
  
file_path: lucid/lucid/optvis/style.py
imports: import tensorflow
label_desc: Use image node_id 2 for calling the StyleLoss obj's underlying member method code with example usage: obj.set_style(input_feeds) without return types