Return the sorted, de-duplicated values present in both tensors a and b.
a
b
Input
a = tensor([1, 2, 3, 4, 5]) b = tensor([3, 5, 7, 9])
Output
tensor([3, 5])
Sign in to write and run your own code.
solve(...)