LoDTensor::Slice() is void function without a new object returned
Created by: Superjomn
I found LoDTensor's SliceLevels
and SliceInLevel
are void functions, that's weried, a slice usually return a new object with less elements.
It might be better to rename to ShrinkXXX
, the semantic is shrink this lod-tensor to be a smaller one.