parameters: (self, name)
docstring: Forwards to the methods in the current graph's `Operation` object.
docstring_summary: Forwards to the methods in the current graph's `Operation` object.
docstring_tokens: Forwards to the methods in the current graph s Operation object .
function: def __getattribute__(self, name):
      """Forwards to the methods in the current graph's `Operation` object."""
      op_name = object.__getattribute__(self, '_name')
      graph = ops.get_default_graph()
  
      # Short-circuit getting some of these attributes that are readily
      # available without forwarding to the actual operation. This is done
      # because `get_operation_by_name` tries to acquire the parent graph's
      # lock protecting the nodes_by_* data structures, and these attributes
      # (not requiring the lock) could be queried by other function holding
      # the lock.
      if name == 'name':
        return op_name
      elif name == '_as_graph_element':
        return lambda: self
      elif name == '__class__':
        return OperationProxy
      elif name == 'graph':
        original_graph = object.__getattribute__(self, '_original_graph')
        if original_graph.is_child_graph(graph):
          return graph
        else:
          return original_graph
      else:
        op = graph.get_operation_by_name(op_name)
        return getattr(op, name)
function_tokens: def __getattribute__ ( self , name ) : op_name = object . __getattribute__ ( self , '_name' ) graph = ops . get_default_graph ( ) # Short-circuit getting some of these attributes that are readily # available without forwarding to the actual operation. This is done # because `get_operation_by_name` tries to acquire the parent graph's # lock protecting the nodes_by_* data structures, and these attributes # (not requiring the lock) could be queried by other function holding # the lock. if name == 'name' : return op_name elif name == '_as_graph_element' : return lambda : self elif name == '__class__' : return OperationProxy elif name == 'graph' : original_graph = object . __getattribute__ ( self , '_original_graph' ) if original_graph . is_child_graph ( graph ) : return graph else : return original_graph else : op = graph . get_operation_by_name ( op_name ) return getattr ( op , name )