Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use XOR operator ^ for checking assertion type_given XOR params_given #83

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

mishig25
Copy link
Contributor

Use XOR operator ^ for checking assertion type_given XOR params_given in GPT.__init__

…ven`

Use XOR operator `^` for checking assertion `type_given XOR params_given` in `GPT.__init__`
@karpathy karpathy merged commit cafce45 into karpathy:master Jul 29, 2022
@karpathy
Copy link
Owner

ok yes better ty!

@mishig25 mishig25 deleted the patch-1 branch July 29, 2022 06:02
alpercanberk pushed a commit to alpercanberk/moe-transformer that referenced this pull request Aug 27, 2023
Use XOR operator `^` for checking assertion `type_given XOR params_given`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants