code: def repeat_last_axis(array, count):
      """
      Restride `array` to repeat `count` times along the last axis.
  
      Parameters
      ----------
      array : np.array
          The array to restride.
      count : int
          Number of times to repeat `array`.
  
      Returns
      -------
      result : array
          Array of shape array.shape + (count,) composed of `array` repeated
          `count` times along the last axis.
  
      Example
      -------
      >>> from numpy import arange
      >>> a = arange(3); a
      array([0, 1, 2])
      >>> repeat_last_axis(a, 2)
      array([[0, 0],
             [1, 1],
             [2, 2]])
      >>> repeat_last_axis(a, 4)
      array([[0, 0, 0, 0],
             [1, 1, 1, 1],
             [2, 2, 2, 2]])
  
      Notes
      ----
      The resulting array will share memory with `array`.  If you need to assign
      to the input or output, you should probably make a copy first.
  
      See Also
      --------
      repeat_last_axis
      """
      return as_strided(
          array, array.shape + (count,), array.strides + (0,)
      )
  
imports: from collections import OrderedDict
  from datetime import datetime
  from warnings import catch_warnings, filterwarnings
  import numpy
  from numpy import broadcast, busday_count, datetime64, diff, dtype, empty, flatnonzero, hstack, isnan, nan, vectorize, where
  from numpy.lib.stride_tricks import as_strided
  from toolz import flip
label_desc: Use image node_id 8 for calling a global function with example usage: repeat_last_axis(array, count) and returns: as_strided