• Gan Quan's avatar
    [Frame] Support slice type indexing; optimize dgl.batch (#110) · 2ecd2b23
    Gan Quan authored
    * cherry picking optimization from jtnn
    
    * unbatch by slicing frames
    
    * reduce pack
    
    * oops
    
    * support frame read/write with slices
    
    * reverting to unbatch by splitting; slicing is unfriendly to backward
    
    * replacing lru cache with static object factory
    
    * replacing Scheme object with namedtuple
    
    * remove comment
    
    * forgot the find edges interface
    
    * subclassing namedtuple
    2ecd2b23
test_frame.py 8.42 KB