Split an input tensor

New to Pytorch, Didn’t find “nn.SplitTable” that is available in Torch Lua. What is the equivalent Plz?
line : seq:add(nn.SplitTable(d+1, 3))

Double post from here with a potential answer.