Commit ae8eddd1 authored by James Ring's avatar James Ring Committed by TensorFlower Gardener
Browse files

Fix generation of bad GetAttr calls

OpKernelContext does not have GetAttr(). Previously, the
DEFINE_TF_GETATTR_ macro would define a function called
TF_OpKernelContext_GetWhateverAttr, but its implementation was
erroneously casting to OpKernelConstruction. This was never going to
work.

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