aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/grappler/clusters/single_machine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/grappler/clusters/single_machine.cc')
-rw-r--r--tensorflow/core/grappler/clusters/single_machine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/grappler/clusters/single_machine.cc b/tensorflow/core/grappler/clusters/single_machine.cc
index 58b9fc6429..a1531f1cfc 100644
--- a/tensorflow/core/grappler/clusters/single_machine.cc
+++ b/tensorflow/core/grappler/clusters/single_machine.cc
@@ -158,7 +158,7 @@ Status SingleMachine::Run(const GraphDef& graph_def,
// Also clear the timeline to save memory
init_metadata_.clear_step_stats();
}
- for (int i = 0; i < queue_runner_defs_.size(); ++i) {
+ for (size_t i = 0; i < queue_runner_defs_.size(); ++i) {
std::unique_ptr<QueueRunner> queue_runner;
TF_RETURN_IF_ERROR(QueueRunner::New(queue_runner_defs_[i],
coordinator_.get(), &queue_runner));