Searched refs:in_save_context (Results 1 – 7 of 7) sorted by relevance
31 self.assertFalse(save_context.in_save_context())37 self.assertTrue(save_context.in_save_context())44 self.assertFalse(save_context.in_save_context())50 self.assertTrue(save_context.in_save_context())56 self.assertFalse(save_context.in_save_context())65 self.assertTrue(save_context.in_save_context())71 self.assertTrue(save_context.in_save_context())74 self.assertFalse(save_context.in_save_context())
34 if not self.in_save_context():46 def in_save_context(self): member in SaveContext54 if in_save_context():63 def in_save_context(): function65 return _save_context.in_save_context()
369 if not save_context.in_save_context():378 if ops.inside_function() and not save_context.in_save_context():
503 if save_context.in_save_context():
524 return self._packed_var is not None and not save_context.in_save_context()
432 if save_context.in_save_context():861 not context.executing_eagerly() and save_context.in_save_context()):873 not context.executing_eagerly() and save_context.in_save_context()):
3229 if save_context.in_save_context():