Return True if a and b have the same shape and elements, else False.
True
a
b
False
Input
a = tensor([1, 0, 1]) b = tensor([1, 0, 1])
Output
Sign in to write and run your own code.
solve(...)