code: def cumprod(s: "Stream[float]") -> "Stream[float]":
      """Computes the cumulative product of a stream.
  
      Parameters
      ----------
      s : `Stream[float]`
          A float stream.
  
      Returns
      -------
      `Stream[float]`
          The cumulative product stream of `s`.
      """
      return CumProd()(s).astype("float")
  
imports: import numpy
  from tensortrade.feed.core.base import Stream
  from tensortrade.feed.api.float import Float
label_desc: Use image node_id 2 for calling a global function with example usage: cumprod(s) and returns: CumProd