Searched refs:device_stack (Results 1 – 4 of 4) sorted by relevance
65 device_stack = ops.get_default_graph()._device_functions_outer_to_inner67 return not bool(device_stack)
187 device_stack=None)189 def push(self, is_building_function, enter_context_fn, device_stack): argument207 ContextSwitch(is_building_function, enter_context_fn, device_stack))
764 def device_stack_has_callable(device_stack): argument767 for spec in device_stack.peek_objs())
5576 innermost_nonempty_device_stack = stack_entry.device_stack