Are there examples where numpy and torch give different results for broadcasting?

62 Views Asked by At

I keep hearing that broadcasting rules are different between numpy and torch, but I cannot find any simple examples where they give different results. Are there examples where broadcasting with numpy arrays vs torch tensors give different results? Or are the differences more to do with internal stuff like copying vs pointing to elements?

0

There are 0 best solutions below