parameters: (self, *args, **kwargs)
docstring: Handles an operation call to the current node and returns the new node
          built using the operation call.
docstring_summary: Handles an operation call to the current node and returns the new node
          built using the operation call.
docstring_tokens: Handles an operation call to the current node and returns the new node built using the operation call .
function: def _create_new_op(self, *args, **kwargs):
          """
          Handles an operation call to the current node and returns the new node
          built using the operation call.
          """
          # Create a new `Operation` object for the
          # incoming operation call
          op = Operation(self.proxied_node._new_op_name, *args, **kwargs)
  
          # Create a new `Node` object to house the operation
          newNode = Node(operation=op, get_head=self.proxied_node.get_head)
  
          # Logger debug statements
          logger.debug("Created new {} node".format(op.name))
  
          # Add the new node as a child of the current node
          self.proxied_node.children.append(newNode)
  
          # Return the appropriate proxy object for the node
          if op.is_action():
              return ActionProxy(newNode)
          elif op.name in ["AsNumpy", "Snapshot"]:
              headnode = self.proxied_node.get_head()
              generator = ComputationGraphGenerator(headnode)
              headnode.backend.execute(generator)
              return newNode.value
          else:
              return TransformationProxy(newNode)
function_tokens: def _create_new_op ( self , * args , * * kwargs ) : # Create a new `Operation` object for the # incoming operation call op = Operation ( self . proxied_node . _new_op_name , * args , * * kwargs ) # Create a new `Node` object to house the operation newNode = Node ( operation = op , get_head = self . proxied_node . get_head ) # Logger debug statements logger . debug ( "Created new {} node" . format ( op . name ) ) # Add the new node as a child of the current node self . proxied_node . children . append ( newNode ) # Return the appropriate proxy object for the node if op . is_action ( ) : return ActionProxy ( newNode ) elif op . name in [ "AsNumpy" , "Snapshot" ] : headnode = self . proxied_node . get_head ( ) generator = ComputationGraphGenerator ( headnode ) headnode . backend . execute ( generator ) return newNode . value else : return TransformationProxy ( newNode )