mlx.core.cosh# cosh(a: array, /, *, stream: None | Stream | Device = None) → array# Element-wise hyperbolic cosine. 參數: a (array) -- Input array. 回傳: The hyperbolic cosine of a. 回傳型別: array