mlx.core.full_like# full_like(a: array, vals: scalar | array, dtype: Dtype | None = None, *, stream: StreamOrDevice = None) → array# An array filled with vals with the same shape as the input. 參數: a (array) -- The input to take the shape from. vals (float or int or array) -- Values to fill the array with. dtype (Dtype, optional) -- Data type of the output array. If unspecified the type of the input is used. 回傳值: 輸出陣列。 回傳值型別: array