Prepare nodes that will be allocated using ScopedAllocator.
authorAyush Dubey <ayushd@google.com>
Mon, 30 Apr 2018 17:36:00 +0000 (10:36 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 30 Apr 2018 17:39:01 +0000 (10:39 -0700)
commit09e529ff5adb916e40481563698dee72e8a15162
tree26b37a15d699bc92717584e137999c84a592a1cb
parenta3ae05d256a9fe82d9a2e50d3f72c3361c1162e4
Prepare nodes that will be allocated using ScopedAllocator.

This includes changes to Executor that (1) set scope_id on nodes that are
decorated with _scoped_allocator attribute, (2) mark such nodes to never
forward input.

PiperOrigin-RevId: 194807086
tensorflow/core/common_runtime/executor.cc
tensorflow/core/graph/graph.cc
tensorflow/core/graph/graph.h