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).

貢獻者指南