Thanks for the awesome logging library. Based on my understanding, I wrote the following free function
template <typename OStream>
OStream& operator<<(OStream& os, const torch::Tensor& t) {
  return os << t;
}

which resulted in a pile of compile errors when combined with
spdlog::info("tensor: {}", tensor);

I am not sure where I am doing wrong here…