Commit 0b8ac6e1 authored by Eugene Zhulenev's avatar Eugene Zhulenev Committed by TensorFlower Gardener
Browse files

[Grappler] Cleanup grappler function inlining rules wrt stateful and dataset ops.

Grappler doesn't try to be the "automatic control dependency tracking framework", if side-effects after inlining are not guaranteed to have well defined execution order, we just do not inline it, and don't try to fix it. This is a graph-construction problem that should be fixed in tf-eager auto-control dependencies tracking.

In Agressive mode function optimizer skips this check and always inline.

PiperOrigin-RevId: 230386480
parent 79e040fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment