[Frame] Support slice type indexing; optimize dgl.batch (#110)
* 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
Showing
Please register or sign in to comment