docstr: Set the input(s) for the next operation by replacing the terminal nodes.
  The arguments can be either layer names or the actual layers.
docstr_tok: ["Set","the","input","(","s",")","for","the","next","operation","by","replacing","the","terminal","nodes",".","The","arguments","can","be","either","layer","names","or","the","actual","layers","."]
code: def feed(self, *args):
      """Set the input(s) for the next operation by replacing the terminal nodes.
      The arguments can be either layer names or the actual layers.
      """
      assert len(args) != 0
      self.terminals = []
      for fed_layer in args:
          if isinstance(fed_layer, str):
              try:
                  fed_layer = self.layers[fed_layer]
              except KeyError:
                  raise KeyError(
                      "Unknown layer name fed: %s" % fed_layer
                  )
          self.terminals.append(fed_layer)
      return self
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  import cv2
  import os
  import inspect
label_desc: Use image node_id 4 for calling the Network obj's underlying member method code with example usage: obj.feed() and returns: self