Commit a346b737 authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by TensorFlower Gardener
Browse files

Don't set unused Operation private fields if the C API is enabled.

This helps catch invalid uses of the private fields with the C API
enabled, and refactors Operation.__init__ in preparation for enabling
the C API and eventually getting rid of the _USE_C_API toggle.

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