Skip to content

Documentation/tictactoe - #2

Merged
owulveryck merged 14 commits into
masterfrom
documentation/tictactoe
Jan 18, 2021
Merged

owulveryck merged 14 commits into
masterfrom
documentation/tictactoe

Conversation

@owulveryck

@owulveryck owulveryck commented Jan 15, 2021 •

Copy link
Copy Markdown
Member

If you have a couple of minutes @chewxy, I'd like a quick review of the README to check if all the writing makes sense.

It is not crystal clear why both players need to SwitchToInference yet, but it seems to work.

Besides that, this PR :

  • adds comments for the godoc
  • moves the gtp and online packages into internal

@owulveryck
owulveryck marked this pull request as ready for review January 15, 2021 16:36
@owulveryck
owulveryck requested a review from chewxy January 15, 2021 16:36
@owulveryck owulveryck self-assigned this Jan 16, 2021
Comment thread agent.go
}

// SwitchTOInference uses the inference mode neural network.
// SwitchToInference uses the inference mode neural network.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this function do under the hood?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BatchNorm "knows" about whether it's in training mode or inference mode. That's why this is needed.

Comment thread README.md Resolved
@chewxy

chewxy commented Jan 17, 2021

Copy link
Copy Markdown
Member

If this is good to merge you can merge it. It looks good to me. thank you so much for documenting this.

@owulveryck
owulveryck merged commit ce60739 into master Jan 18, 2021
@owulveryck
owulveryck deleted the documentation/tictactoe branch January 18, 2021 08:02
owulveryck added a commit that referenced this pull request Jan 18, 2021
There muse be something wrong with the reset method of the tapemachine.
It looks like some elements remains with their old value.
The second iteration is therefore not idempotent with the first one
This fixes #1 and #2
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.

2 participants