Thank you very much for your help. I finally succeeded in following your approach, But can you tell me the reason? Count the last two lines of code in the first image. They have almost the same structure(Same L1 loss and same type of data), but why does the second line report an error and need to be modified?