Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions monte_carlo_tree_search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import torch

import math
import numpy as np

Expand Down Expand Up @@ -137,7 +137,7 @@ def run(self, model, state, to_play):

return root

def backpropagate(self, search_path, value, to_play):
def backup(self, search_path, value, to_play):
"""
At the end of a simulation, we propagate the evaluation all the way up the tree
to the root.
Expand Down