Hi, this still doesn’t seem to work even after 1.7. From the code in aten/src/ATen/native/LossNLL.cpp:
  TORCH_CHECK(
      input.dim() > 0 && input.dim() <= 2, "input tensor should be 1D or 2D");
  TORCH_CHECK(
      target.dim() == 1,
      "1D target tensor expected, multi-target not supported");

This works in python but not in libtorch. Was this feature just forgotten as part of the parity work, or am I missing something?