Commit 93b8a053 authored by Vijay Vasudevan's avatar Vijay Vasudevan Committed by TensorFlower Gardener
Browse files

Cleanup and consolidation: Add a GraphRunner::Run function runs a

graph.  This is similar to what is already being done in
ConstantFolding, but allows us to feed inputs too.  This function
replaces some of the code in ConstantFolding, and will also be used
for the purposes of running constant graphs for shape inference (I
have another CL that will use this, once checked in.  The other CL was
using DirectSession as a proof of concept, but we need something
simpler to avoid layering violations).

I have documented the class / function as not super general and only
really useful for constant evaluations.
Change: 133331175
parent 0254040d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment