Proxy decorator_target.__get__ in TFDecorator
Prior to this change TFDecorator.__get__ mimicked the behaviour of functions via partial(self.__call__, instance). This is no needed as calling __get__ on a function would have a ~similar effect; and in fact incorrect if target implements a custom __get__ method. PiperOrigin-RevId: 234957239
Loading
Please sign in to comment