parameters: (self,
                 src_ids=None,
                 src_type=None,
                 dst_ids=None,
                 dst_type=None,
                 edge_type=None,
                 offsets=None,
                 dense_shape=None,
                 edge_ids=None,
                 src_nodes=None,
                 dst_nodes=None,
                 int_attrs=None,
                 float_attrs=None,
                 string_attrs=None,
                 weights=None,
                 labels=None,
                 graph=None)
docstring: Sparse Edges.
docstring_summary: Sparse Edges.
docstring_tokens: Sparse Edges .
function: def __init__(self,
                 src_ids=None,
                 src_type=None,
                 dst_ids=None,
                 dst_type=None,
                 edge_type=None,
                 offsets=None,
                 dense_shape=None,
                 edge_ids=None,
                 src_nodes=None,
                 dst_nodes=None,
                 int_attrs=None,
                 float_attrs=None,
                 string_attrs=None,
                 weights=None,
                 labels=None,
                 graph=None):
      """ Sparse Edges.
      """
      Edges.__init__(self, src_ids=src_ids,
                     src_type=src_type,
                     dst_ids=dst_ids,
                     dst_type=dst_type,
                     edge_type=edge_type,
                     edge_ids=edge_ids,
                     src_nodes=src_nodes,
                     dst_nodes=dst_nodes,
                     int_attrs=None,
                     float_attrs=None,
                     string_attrs=None,
                     weights=weights,
                     labels=labels,
                     shape=None,
                     graph=graph)
      SparseBase.__init__(self, offsets, dense_shape)
      if not src_nodes:
        num_edges = sum(offsets)
        if src_ids is not None and src_ids.shape[0] != num_edges:
          raise ValueError("Ids must be the same length of indices")
        self._src_nodes = SparseNodes(src_ids, offsets, dense_shape,
                                      src_type, graph=graph)
        self._dst_nodes = SparseNodes(dst_ids, offsets, dense_shape,
                                      dst_type, graph=graph)
      else:
        self._dense_shape = dst_nodes.dense_shape
        self._offsets = dst_nodes.offsets
function_tokens: def __init__ ( self , src_ids = None , src_type = None , dst_ids = None , dst_type = None , edge_type = None , offsets = None , dense_shape = None , edge_ids = None , src_nodes = None , dst_nodes = None , int_attrs = None , float_attrs = None , string_attrs = None , weights = None , labels = None , graph = None ) : Edges . __init__ ( self , src_ids = src_ids , src_type = src_type , dst_ids = dst_ids , dst_type = dst_type , edge_type = edge_type , edge_ids = edge_ids , src_nodes = src_nodes , dst_nodes = dst_nodes , int_attrs = None , float_attrs = None , string_attrs = None , weights = weights , labels = labels , shape = None , graph = graph ) SparseBase . __init__ ( self , offsets , dense_shape ) if not src_nodes : num_edges = sum ( offsets ) if src_ids is not None and src_ids . shape [ 0 ] != num_edges : raise ValueError ( "Ids must be the same length of indices" ) self . _src_nodes = SparseNodes ( src_ids , offsets , dense_shape , src_type , graph = graph ) self . _dst_nodes = SparseNodes ( dst_ids , offsets , dense_shape , dst_type , graph = graph ) else : self . _dense_shape = dst_nodes . dense_shape self . _offsets = dst_nodes . offsets