Tensor pochodni równy

torch.all(torch.eq(tens_a, tens_b))
Smoggy Squirrel