Use self._in_graph_mode consistently in ResourceVariable
instead of sometimes getting it from the context. Also: fix formatting of a comment and use a more precise test to detect if initial_value is set. PiperOrigin-RevId: 168047258
Showing
想要评论请 注册 或 登录