Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Update attention.py #394

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update attention.py #394

wants to merge 2 commits into from

Conversation

sjw8793
Copy link

@sjw8793 sjw8793 commented Oct 4, 2023

add missing condition check of context.train in attention(), which can be none.

fix missing None-check of context.train in attention()
@google-cla
Copy link

google-cla bot commented Oct 4, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant