Closed
Description
Much as there are functions like zeros_like
, ones_like
, etc. It would be useful to have a few more *_like
functions for operations such as arange
, linspace
, etc. This would be useful for cases where one wishes to create an array of a specific type that has some particular initialization.
cc @pentschev