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. 返回: The output array. 返回类型: array