pub fn ones_like_device( input: impl AsRef<Array>, stream: impl AsRef<Stream>, ) -> Result<Array>
An array of ones like the input.