AttributeError: module 'torch.nn' has no attribute 'sequential'

Simply use Sequential from capital letter.

1 Like