> You could have an empty_like here, couldn't you?

That does not seem to work, gx's shape differes from test to test. I'm -1 adding an array2 here only to use empty_like.