1.torch.nn.Sequential()的用法 官方api文档传送门:https://pytorch.org/docs/stable/generated/torch.nn.Sequential.html#torch.nn.Sequential torch.nn.Sequential()的用法如下图所示: