Returns a lock to guard code that creates & mutates ops. See the comment for self._group_lock for more info.
(self)
| 5153 | self._auto_cast_variable_read_dtype = prev_read_dtype |
| 5154 | |
| 5155 | def _mutation_lock(self): |
| 5156 | """Returns a lock to guard code that creates & mutates ops. |
| 5157 | |
| 5158 | See the comment for self._group_lock for more info. |
| 5159 | """ |
| 5160 | return self._group_lock.group(_MUTATION_LOCK_GROUP) |
| 5161 | |
| 5162 | def _session_run_lock(self): |
| 5163 | """Returns a lock to guard code for Session.run. |
no test coverage detected