Switch op_hint.py to use _set_attr.
authorSkye Wanderman-Milne <skyewm@google.com>
Mon, 12 Mar 2018 18:43:57 +0000 (11:43 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 12 Mar 2018 18:47:52 +0000 (11:47 -0700)
commit077c500bf98aea58fe365818951b6447049550f3
treefe5150783828410e7b4d776ea1a30cebc351331a
parentbf93a9f13e5a8f51db6afe2b61c3dbee9763b7d3
Switch op_hint.py to use _set_attr.

This is in preparation for enabling the C API. Modifying an op's NodeDef
directly has no effect with the C API enabled.

PiperOrigin-RevId: 188754464
tensorflow/contrib/lite/python/op_hint.py