18. Are Two Tensors Equal?

Easy

Return True if a and b have the same shape and elements, else False.

Input

a = tensor([1, 0, 1])
b = tensor([1, 0, 1])

Output

True

Sign in to write and run your own code.

Implement solve(...)