Understanding transfer learning implementation

Hey, I encountered this. I want to implement transfer learning however, I’m not able to understand what the following code does.

Acc += acc.template item<float>();
mse += loss.template item<float>();

Can anyone please help me understand what’s .template item<float>() doing here?

The template usage is explained in this post. :wink: