Closed ndgrigorian closed 3 months ago
When tile is called on a scalar array with empty repetitions, it returns a 1D array instead of 0D (scalar)
tile
>>> import dpctl,dpctl.tensor as dpt, numpy as np >>> dpt.tile(dpt.asarray(5), ()).shape (1,) >>> np.tile(np.array(5), ()).shape ()
When
tile
is called on a scalar array with empty repetitions, it returns a 1D array instead of 0D (scalar)