ggml-org/ggml

Unexpected behavior for GGML_MEAN

オープン

#1,005 opened on 2024/11/02

 (10 件のコメント) (2 件のリアクション) (0 人の担当者)C++ (1,788 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (15,223 個のスター)
PR merge metrics
 (平均マージ 11h 12m) (30d で 22 merged PRs)

説明

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

コントリビューターガイド