The nn.Sequential module is used to execute multiple layers in a sequential manner, while tensors are used as the input, output, weights (wrapped into nn.Parameter) etc., so I’m unsure how these objects could be converted.
Could you explain your use case a bit more, please?