if _ctx is None or not _ctx._eager_context.is_eager:

Input:

Output:

Prompt: