there is no time distributed layer in pytorch but i found from the pytorch forum that someone has created a time distributed layer, a CNN layer and a LSTM layer could not be connected directly, but pytorch has something called Conv3D layers (C3D) which could be used for video classification.