torch.histc 1 performed over a minibatch  cuda tensor of n samples is slow on first sample…
is that normal?
torch.histc takes way too long on the first sample, .34sec
and 0.000163sec on the left.
any idea why? and how to speedup this?
the code is in the middle of large code where warmup has already been done…
thanks