Convert as_strided input to array first