ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

#1,005 创建于 2024年11月2日

在 GitHub 查看
 (10 评论) (2 反应) (0 负责人)C++ (1,646 fork)auto 404
good first issue

仓库指标

Star
 (14,741 star)
PR 合并指标
 (平均合并 33分钟) (30 天内合并 12 个 PR)

描述

The usual behavior for the "mean" operation in numerical frameworks is a reduction of a tensor to a single value. However, in GGML this operation instead calculates the mean per row. This is I think unexpected behavior and the naming is also inconsistent with GGML_SUM (per tensor) and GGML_SUM_ROWS (per row).

贡献者指南