I've been looking at some open-source code using the eigen library for numerical computations, but I can't wrap my head around what this last line of code does:
output.device(device) =
input.template fft<Eigen::BothParts, direction>(axes);
There are no parentheses that indicate "template" is a function being called, however VSCode colors it teal as if it's a method? Inside the eigen source code, I can't see this method defined anywhere. How does this work?