ggml-org/ggml

Unexpected behavior for GGML_MEAN

開放

#1,005 建立於 2024年11月2日

 (10 則留言) (2 個反應) (0 位負責人)C++ (1,788 個分叉)auto 404
good first issue

倉庫指標

星標
 (15,223 顆星)
PR 合併指標
 (平均合併 11小時 12分鐘) (30 天內合併 22 個 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).

貢獻者指南