Skip to content
Commit 8904e910 authored by River Riddle's avatar River Riddle Committed by A. Unique TensorFlower
Browse files

Add a flag to the IRPrinter instrumentation to only print after a pass if...

Add a flag to the IRPrinter instrumentation to only print after a pass if there is a change to the IR.

This adds an additional filtering mode for printing after a pass that checks to see if the pass actually changed the IR before printing it. This "change" detection is implemented using a SHA1 hash of the current operation and its children.

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