This fixes the problem reported in #70 (but doesn't close because the issue is more generic).
Simple case of forgetting to propagate the device of the input (if it is an array). I've added a test for this and fixedfull_like and empty_like where this was missing.
This fixes the problem reported in #70 (but doesn't close because the issue is more generic).
Simple case of forgetting to propagate the device of the input (if it is an array). I've added a test for this and fixed
full_like
andempty_like
where this was missing.