Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1794·trax

Inconsistency in function's doc-string

Author: jaindhairyahereCreated Jan 13, 2024Updated Apr 18, 2024

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.

Source: google/trax

View original on GitHubView discussion on GitHub