aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Vasudevan <vrv@google.com>2016-04-04 05:03:57 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-04 06:12:45 -0700
commitaffcced82bc3c7cee1e1b57c69dc3547fbbba4bb (patch)
tree4e752260ec4ea82ddde49949fcc28eb9a4abdddc
parent320b2e20460a543beba84dc508fe8e638dc97cc0 (diff)
Fixing tensor_forest for python3 compatibility
Change: 118932430
-rw-r--r--tensorflow/contrib/tensor_forest/python/tensor_forest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/tensor_forest/python/tensor_forest.py b/tensorflow/contrib/tensor_forest/python/tensor_forest.py
index 27b2b6d494..6257d6481d 100644
--- a/tensorflow/contrib/tensor_forest/python/tensor_forest.py
+++ b/tensorflow/contrib/tensor_forest/python/tensor_forest.py
@@ -58,7 +58,7 @@ class ForestHParams(object):
"""A base class for holding hyperparameters and calculating good defaults."""
def __init__(self, **kwargs):
- for name, value in kwargs.iteritems():
+ for name, value in kwargs.items():
setattr(self, name, value)
def values(self):