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
Loading
Please sign in to comment