I adopted a 2-layer neural network in the tutorial:
model = nn.Sequential(
    nn.Linear(D_in, H),
    nn.Tanh(),
    nn.Linear(H, D_out),
)

Then I trained the model, save and load the model in the way as they mentioned here 1 (second answer, case #1). But when the output yields a SyntaxError:
  File "eval01.py", line 63
    model.eval() 
        ^
SyntaxError: invalid syntax

I don’t have any Batchnorm or Dropout layer in my model. Is this the reason of this error?