diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-06-20 15:45:43 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-06-20 15:50:35 -0700 |
commit | 4c13564c9cd90499145f562e9e0a6199aaab8fb3 (patch) | |
tree | c2b1df0ceec4805bca4d335b17cf6c05071377a7 /tensorflow/core/grappler/costs/virtual_scheduler.cc | |
parent | 1a4f52834c4bf0b0491468c0107ee57ff879ce63 (diff) |
Change default manager to FIFO for general performance improvements.
PiperOrigin-RevId: 159626166
Diffstat (limited to 'tensorflow/core/grappler/costs/virtual_scheduler.cc')
-rw-r--r-- | tensorflow/core/grappler/costs/virtual_scheduler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/grappler/costs/virtual_scheduler.cc b/tensorflow/core/grappler/costs/virtual_scheduler.cc index 75f485b414..f6f91e37ac 100644 --- a/tensorflow/core/grappler/costs/virtual_scheduler.cc +++ b/tensorflow/core/grappler/costs/virtual_scheduler.cc @@ -58,10 +58,10 @@ Costs CombineCosts(const Costs& left, const Costs& right) { VirtualScheduler::VirtualScheduler(const GrapplerItem* grappler_item, const bool use_static_shapes, Cluster* cluster) - : // Use LIFO instead of FIFO. LIFO allows an output node of an node to + : // Allow LIFO as well as FIFO. LIFO allows an output node of an node to // follow it in execution, saving addition memory time from having to - // write and read. - ready_nodes_(new LIFOManager()), + // write and read. For default cases, use FIFO for performance. + ready_nodes_(new FIFOManager()), graph_costs_(Costs::ZeroCosts()), graph_properties_(*grappler_item), cluster_(cluster), |