Commit b9424f1b authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

Mark the ResourceHandleOp as inexpensive.

Previously, we would schedule a closure for each ResourceHandleOp, because it is erroneously considered to be "expensive". This would cost several microseconds per op, whereas the execution cost of this kernel is as little as 100ns. This change causes these kernels to execute inline at the beginning of a step.

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