ggml-org/ggml

Unexpected behavior for GGML_MEAN

开放

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

 (10 条评论) (2 个反应) (0 位负责人)C++ (1,787 个派生)auto 404
good first issue

仓库指标

星标
 (15,217 个星标)
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).

贡献者指南