trax icon indicating copy to clipboard operation
trax copied to clipboard

Inconsistency in function's doc-string

Open jaindhairyahere opened this issue 1 year ago • 1 comments

Description

Inconsistent function description at https://github.com/google/trax/blob/master/trax/layers/attention.py#L330C1-L342C23

The function states that it "Returns attention-computed per-head activations and unchanged mask." but returns only the activations.

jaindhairyahere avatar Jan 13 '24 17:01 jaindhairyahere

You are right. Can I raise PR to fix it ?

punitvara avatar Apr 18 '24 10:04 punitvara